MCPcopy
hub / github.com/go-kit/kit / AuthError

Struct AuthError

auth/basic/middleware.go:18–20  ·  view source on GitHub ↗

AuthError represents an authorization error.

Source from the content-addressed store, hash-verified

16
17// AuthError represents an authorization error.
18type AuthError struct {
19 Realm string
20}
21
22// StatusCode is an implementation of the StatusCoder interface in go-kit/http.
23func (AuthError) StatusCode() int {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected