package
0.6.3
Repository: https://github.com/shisa-platform/core.git
Documentation: pkg.go.dev

# Functions

NewClient returns a rate-limiting middleware that throttles requests from the request's client IP address using the given rate limit Provider.
New returns a rate-limiting middleware that throttles requests from the given extractor's value using the given rate limit Provider.
NewUser returns a rate-limiting middleware that throttles requests from the context's Actor using the given rate limit Provider.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AllowContentTypes is middleware to whitelist incoming Content-Type and Accept Headers.
Authentication is middleware to help automate authentication.
CSRFProtector is middleware used to guard against CSRF attacks.
PassiveAuthentication is middleware to help automate optional authentication.
No description provided by the author
RestrictContentTypes is middleware to blacklist incoming Content-Type and Accept Headers.
ReverseProxy is a Handler that takes an incoming request and sends it to another server, proxying the response back to the user agent.

# Type aliases

CheckOrigin compares two URLs and determines if they should be considered the "same" for the purposes of CSRF protection.
Invoker sends the proxied request and returns the response.
No description provided by the author
No description provided by the author
Responder modifies the response from the proxied server.
Router returns the request to contact the proxied server.