Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct { FeatureOptions *genericOptions.FeatureOptions `json:"feature" mapstructure:"feature"` GRPCOptions *genericOptions.GRPCOptions `json:"grpc" mapstructure:"grpc"` HttpOption *genericOptions.HttpOption `json:"http" mapstructure:"http"` HttpsOption *genericOptions.HttpsOption `json:"https" mapstructure:"https"` JwtOption *genericOptions.JwtOption `json:"jwt" mapstructure:"jwt"` // 这里 ????? mapstructure MysqlOption *genericOptions.MysqlOption `json:"mysql" mapstructure:"mysql"` RedisOption *genericOptions.RedisOptions `json:"redis" mapstructure:"redis"` // 这里和配置中的大层相对 ServerRunOption *genericOptions.ServerRunOption `json:"server" mapstructure:"server"` LogOption *log.Option `json:"log" mapstructure:"log"` }
Click to show internal directories.
Click to hide internal directories.