package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package cors provides a middleware for Cross-origin resource sharing (CORS).
Package csgrpc provides basics types for grpc servers and clients.
Package csrf implements scope based Cross-Site Request Forgery protection.
Package geoip detects the country by an IP address and provides alternative handlers.
Package jwt provides a middleware for JSON web token authentication and runMode initialization.
Package mw provides a various middleware.
Package problem implements the RFC7807 Details for HTTP APIs.
Package ratelimit implements scope based HTTP rate limiting.
Package request provides functions for http request handling.
Package response provides functions for working with an http response.
Package responseproxy provides various proxy functions for extending http.ResponseWriter.
Package runmode defines store specific middleware to initialize the scope and its ID per request.
Package secure adds a middleware for quick security wins to response HTTP headers TODO(cs) https://github.com/unrolled/secure/blob/v1/secure.go.
Package signed provides a middleware to sign responses and validate requests.
Package url parses program specific URLs and provides helper functions.

# Functions

MakeIPRange creates a new instance.
MakeIPRanges creates a new instance.
ShiftPath splits off the first component of p, which will be cleaned of relative components before processing.

# Constants

Headers.
Media types.
Media types.
Media types.
Media types.
Media types.
Media types.
Media types.
Media types.
Media types.
Media types.
Headers.
Charset.
Headers.
Media types.
Media types.
HTTP methods.
Headers.
Headers.
Headers.
Headers.
Headers.
HTTP methods.
Headers.
Headers.
HTTP methods.
HTTP methods.
Headers.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Method* defines the available methods which this library supports.
Media types.
HTTP methods.
HTTP methods.
POST
HTTP methods.
HTTP methods.
Media types.
Media types.
Media types.
Media types.
HTTP methods.
Headers.
Headers.
Headers.
Protocols.
Headers.
Headers.
Headers.
Headers.
Headers.

# Variables

PrivateIPRanges defines a list of private IP subnets.

# Structs

IPRange contains a from and to IP address.

# Type aliases

IPRanges contains multiple IPRange entries.