Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authorizer ¶
type Endpoint ¶
type Endpoint struct { Handler Log *zap.Logger Authenticator Authorizer ErrorPresenter }
func (*Endpoint) Authenticate ¶
func (*Endpoint) PresentError ¶
func (fn *Endpoint) PresentError(w http.ResponseWriter, err error)
type ErrorPresenter ¶
type ErrorPresenter interface {
PresentError(http.ResponseWriter, error)
}
Click to show internal directories.
Click to hide internal directories.