options

package
v3.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 4 Imported by: 0

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
	CCRedis       redisclient.RedisConfig
	SnapRedis     redisclient.RedisConfig
	DiscoverRedis redisclient.RedisConfig
}

type ServerOption

type ServerOption struct {
	ServConf *config.CCAPIConfig
}

func NewServerOption

func NewServerOption() *ServerOption

func (*ServerOption) AddFlags

func (s *ServerOption) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL