Documentation
¶
Index ¶
Constants ¶
View Source
const ShutdownPeriod = 5 * time.Minute
ShutdownPeriod is the duration to wait before a blocking function should abandon its work.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
Option provides the client a callback that is used dynamically to specify attributes for a Server.
func WithServer ¶
WithServer creates an Option that is used for specifying the http.Server for a Server.
Click to show internal directories.
Click to hide internal directories.