Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*serverConfig) error
Option is a function that sets a value in a serverConfig.
func WithReadTimeout ¶
WithReadTimeout serverConfigures server read timeout.
func WithVersion ¶
WithVersion sets the version string used in /health output.
func WithWriteTimeout ¶
WithWriteTimeout serverConfigures server write timeout.
Click to show internal directories.
Click to hide internal directories.