Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.5.5
type Option func(*serverConfig) error
Option is a function that sets a value in a serverConfig.
func WithReadTimeout ¶ added in v0.5.5
WithReadTimeout serverConfigures server read timeout.
func WithWriteTimeout ¶ added in v0.5.5
WithWriteTimeout serverConfigures server write timeout.
Click to show internal directories.
Click to hide internal directories.