Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { GinMode string JWTKey string TLSOptions *genericoptions.TLSOptions HTTPOptions *genericoptions.HTTPOptions HTTPSOptions *genericoptions.HTTPOptions GRPCOptions *genericoptions.GRPCOptions MySQLOptions *genericoptions.MySQLOptions }
不用viper.Get,是因为这种方式更加显示
func (*Config) NewAPIServerConfig ¶
Directories ¶
Path | Synopsis |
---|---|
Package biz is the place where you can implements more complex business logic.
|
Package biz is the place where you can implements more complex business logic. |
Package store defines the storage interface for miniblog.
|
Package store defines the storage interface for miniblog. |
Click to show internal directories.
Click to hide internal directories.