Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MongoDB mgoclient.MongoConfig Redis redisclient.RedisConfig }
type ServerOption ¶
type ServerOption struct {
ServConf *config.CCAPIConfig
}
ServerOption define option of server in flags
func NewServerOption ¶
func NewServerOption() *ServerOption
NewServerOption create a ServerOption object
func (*ServerOption) AddFlags ¶
func (s *ServerOption) AddFlags(fs *pflag.FlagSet)
AddFlags add flags
Click to show internal directories.
Click to hide internal directories.