17 lines
354 B
Go
17 lines
354 B
Go
package config
|
|
|
|
type Jwt struct {
|
|
Token Token `mapstructure:"token"`
|
|
Customer Customer `mapstructure:"customer"`
|
|
}
|
|
|
|
type Token struct {
|
|
ExpiresTTL int `mapstructure:"expires-ttl"`
|
|
Secret string `mapstructure:"secret"`
|
|
}
|
|
|
|
type Customer struct {
|
|
ExpiresTTL int `mapstructure:"expires-ttl"`
|
|
Secret string `mapstructure:"secret"`
|
|
}
|