Documentation
¶
Index ¶
- func New(name string, opts ...Option) server.Runnable
- type Option
- func WithAddr(s string) Option
- func WithCert(s string) Optiondeprecated
- func WithEndHook(f func()) Option
- func WithHandler(handler http.Handler) Option
- func WithKey(s string) Optiondeprecated
- func WithReadTimeout(d int) Option
- func WithStartedHook(f func()) Option
- func WithTlsOption(certFile, keyFile string) Option
- func WithWriteTimeout(d 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.