filters

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogRequestAndResponse

func LogRequestAndResponse(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func LogStackOnRecover

func LogStackOnRecover(panicReason interface{}, w http.ResponseWriter)

func WithAudit

func WithAudit(p auditing.Interface) restful.FilterFunction

func WithAuthentication

func WithAuthentication(authRequest authenticator.Request) restful.FilterFunction

func WithAuthorization

func WithAuthorization(authorizers authorizer.Authorizer) restful.FilterFunction

func WithRequestInfo

func WithRequestInfo(resolver request.Resolver) restful.FilterFunction

Types

type PathExclude

type PathExclude struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL