Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Address for the server to listen on. The format is "host:port". Defaults // to ":9900". Address string // ReadTimeout is the maximum duration for reading the entire request, // including the body. Defaults to 5s. ReadTimeout time.Duration // WriteTimeout is the maximum duration before timing out writes of the // response. It is reset whenever a new request's header is read. Defaults // to 10s. WriteTimeout time.Duration }
Click to show internal directories.
Click to hide internal directories.