Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContext ¶
FromContext extracts an aggregate from the context after a request has been rejected.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
Middleware struct represents a loadshed middleware
func (*Middleware) ServeHTTP ¶
func (m *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Option ¶
type Option func(*Middleware) *Middleware
Option is a wrapper for middleware
Click to show internal directories.
Click to hide internal directories.