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