package
0.0.0-20211105144125-e9b145e8b5d4
Repository: https://github.com/pydio/minio-srv.git
Documentation: pkg.go.dev
# Functions
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.