Documentation
¶
Index ¶
- type Option
- func WithAddr(addr string) Option
- func WithCAFile(caFile string) Option
- func WithCertKeyFiles(certFile, keyFile string) Option
- func WithIdleTimeout(idleTimeout time.Duration) Option
- func WithLogger(logger *log.Logger) Option
- func WithOptions(options *Options) Option
- func WithReadTimeout(readTimeout time.Duration) Option
- func WithWriteTimeout(writeTimeout time.Duration) Option
- type Options
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithCAFile ¶
func WithCertKeyFiles ¶
func WithIdleTimeout ¶
func WithLogger ¶
func WithOptions ¶
func WithReadTimeout ¶
func WithWriteTimeout ¶
Click to show internal directories.
Click to hide internal directories.