Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func CloseTimeout ¶
Deadline to wait for closing. Default is 5s
func IdleTimeout ¶
Maximum amount of time to wait for the next request. Default is 60s
func ReadTimeout ¶
Maximum duration for reading the entire request. Default is 15s
func WriteTimeout ¶
Maximum duration before timing out writes of the response. Default is 15s
type WebServer ¶
type WebServer struct {
// contains filtered or unexported fields
}
func NewWebServer ¶
Click to show internal directories.
Click to hide internal directories.