Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthorizationHeader = "Authorization" RangeHeader = "Range" ContentRangeHeader = "Content-Range" AcceptRangeHeader = "Accept-Ranges" ContentTypeHeader = "Content-Type" ContentLengthHeader = "Content-Length" BearerToken = "Bearer" BytesRange = "bytes" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
type Middleware ¶
type Middleware func(next HandlerFunc) HandlerFunc
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ListenAndServe ¶
type ServerOption ¶
type ServerOption func(*Server)
func WithServer ¶
func WithServer(server *http.Server) ServerOption
Click to show internal directories.
Click to hide internal directories.