app.go 327 B

1234567
  1. package config
  2. type App struct {
  3. Port string `mapstructure:"port" json:"port" yaml:"port"`
  4. JwtSecret string `mapstructure:"jwt_secret" json:"jwt_secret" yaml:"jwt_secret"`
  5. TokenExpireDuration int64 `mapstructure:"token_expire_duration" json:"token_expire_duration" yaml:"token_expire_duration"`
  6. }