Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
Name string // server name
StartFunc StartFunc // func to start the server
ShutdownFunc ShutdownFunc // func to shutdown the server
}
type ShutdownFunc ¶
ShutdownFunc is the type of the function invoked by Graceful to shutdown the server
Click to show internal directories.
Click to hide internal directories.