Documentation ¶
Index ¶
- type Option
- func Address(a string) Option
- func Context(ctx context.Context) Option
- func Flags(flags ...cli.Flag) Option
- func Handler(h http.Handler) Option
- func Logger(l log.Logger) Option
- func Name(n string) Option
- func Namespace(n string) Option
- func TLSConfig(config *tls.Config) Option
- func Version(v string) Option
- type Options
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
Option defines a single option function.
func Flags ¶
func Flags(flags ...cli.Flag) Option
Flags provides a function to set the flags option.
Click to show internal directories.
Click to hide internal directories.