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
Directories
¶
| Path | Synopsis |
|---|---|
|
nolint
|
nolint |
|
Package endpoint provides abstractions and utilities for building composable HTTP endpoints, including parameter mappers, request binding, response mapping, and middleware chaining.
|
Package endpoint provides abstractions and utilities for building composable HTTP endpoints, including parameter mappers, request binding, response mapping, and middleware chaining. |
|
binder
nolint:wrapcheck
|
nolint:wrapcheck |
|
hlog
Package hlog provides HTTP middleware for structured logging of requests and responses.
|
Package hlog provides HTTP middleware for structured logging of requests and responses. |
Click to show internal directories.
Click to hide internal directories.