package
0.0.0-20190227020453-5e69a107d89d
Repository: https://github.com/c445/minio.git
Documentation: pkg.go.dev

# Functions

DrainBody close non nil response with any response Body.
NewServer - creates new HTTP server using given arguments.
NewTimeoutConn - creates a new timeout connection.

# Constants

DefaultMaxHeaderBytes - default maximum HTTP header size in bytes.
DefaultReadTimeout - default timout to read data from accepted connection.
DefaultShutdownTimeout - default shutdown timeout used for graceful http server shutdown.
DefaultTCPKeepAliveTimeout - default TCP keep alive timeout for accepted connection.
DefaultWriteTimeout - default timout to write data to accepted connection.

# Structs

BufConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout.
QuirkConn - similar to golang net.Conn struct, but contains a workaround of the following the go bug reported here https://github.com/golang/go/issues/21133.
Server - extended http.Server supports multiple addresses to serve and enhanced connection handling.
TimeoutConn - is wrapped net.Conn with read/write timeouts.