Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // config file ConfigFile string // server options ServerOptions *ServerOptions // config Conf *config.Config }
func NewDefaultOption ¶
func NewDefaultOption() *Options
type ServerOptions ¶
type ServerOptions struct { // server bind address BindAddress string // insecure port number InsecurePort int // secure port number SecurePort int // tls cert file TLSCertFile string // tls private key file TLSPrivateKey string }
func NewDefaultServerOption ¶
func NewDefaultServerOption() *ServerOptions
func (*ServerOptions) AddFlags ¶
func (s *ServerOptions) AddFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.