Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
func WithLogger ¶
WithLogger configures error and server logger
func WithServerTimeouts ¶
WithServerTimeouts configures "net/http".Server ReadTimeout, WriteTimeout and IdleTimeout
func WithShutdownTimeout ¶
WithShutdownTimeout so server doesn't exceed the provided duration after receiving a stop signal
type Server ¶
func (*Server) AddShutdownHook ¶ added in v0.4.3
Click to show internal directories.
Click to hide internal directories.