Documentation ¶
Index ¶
- func New(opts ...Option) server.Runnable
- type Option
- func WithAddr(s string) Option
- func WithCert(s string) Option
- func WithEndHook(f func()) Option
- func WithHandler(handler http.Handler) Option
- func WithHealthz(enable bool) Option
- func WithKey(s string) Option
- func WithMetrics(enable bool) Option
- func WithName(name string) Option
- func WithPprof(enable bool) Option
- func WithReadyz(enable bool) Option
- func WithStartedHook(f func()) Option
- func WithTimeout(t int) Option
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.