Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Log *log.Options `json:"log" mapstructure:"log"` Server *options.ServerOptions `json:"service" mapstructure:"service"` // 服务发现 Registry *options.RegistryOptions `json:"registry" mapstructure:"registry"` // 注册中心 Jwt *options.JwtOptions `json:"jwt" mapstructure:"jwt"` // jwt }
func (*Config) Flags ¶
func (c *Config) Flags() (fss cliflag.NamedFlagSets)
Flags implements app.CliOptions interface.Add flags to the specified FlagSet object.
Click to show internal directories.
Click to hide internal directories.