answer/internal/router/config.go

10 lines
392 B
Go
Raw Normal View History

2022-09-27 17:59:05 +08:00
package router
// SwaggerConfig struct describes configure for the Swagger API endpoint
type SwaggerConfig struct {
Show bool `json:"show" mapstructure:"show" yaml:"show"`
Protocol string `json:"protocol" mapstructure:"protocol" yaml:"protocol"`
Host string `json:"host" mapstructure:"host" yaml:"host"`
Address string `json:"address" mapstructure:"address" yaml:"address"`
2022-09-27 17:59:05 +08:00
}