Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrArgument = errors.New("argument error") ErrAuthentication = errors.New("authentication error") ErrAuthorization = errors.New("authorization error") ErrCommunication = errors.New("communication error") ErrCommunicationTimeout = errors.New("communication timeout error") ErrConfiguration = errors.New("configuration error") ErrInternal = errors.New("internal error") ErrMethodNotAllowed = errors.New("method not allowed") ErrNoRuleFound = errors.New("no rule found") )
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface { RequestMethod() string RequestHeaders() map[string]string RequestHeader(key string) string RequestCookie(key string) string RequestQueryParameter(key string) string RequestFormParameter(key string) string RequestBody() []byte RequestURL() *url.URL RequestClientIPs() []string AddHeaderForUpstream(name, value string) AddCookieForUpstream(name, value string) AppContext() context.Context SetPipelineError(err error) Signer() JWTSigner }
type RedirectError ¶
func (*RedirectError) Error ¶
func (e *RedirectError) Error() string
func (*RedirectError) Is ¶
func (e *RedirectError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.