package
0.5.0
Repository: https://github.com/pakkasys/fluidapi.git
Documentation: pkg.go.dev

# Functions

ClearContextValue clears a value in the custom data of the context for the provided key.
DumpData retrieves the custom context data from the provided context.
GetContextValue tries to retrieve a value from the custom data of the context for a given key.
HasContextValue checks if a value exists for the provided key within the custom data of the context.
IsContextSet checks if the custom context is set in the provided context.
MustGetContextValue fetches a value directly from the custom data of the context for a given key.
NewContext initializes a new context with an empty contextData map.
NewDataKey safely increments and returns the next value of base.
NewRequestWrapper creates a new instance of RequestWrapper and captures the body content to allow multiple reads.
NewResponseWrapper creates a new instance of ResponseWrapper.
RequestIPAddress returns the IP address of the request.
SetContextValue sets a value in the custom data of the context for the provided key.

# Structs

RequestWrapper wraps an http.Request, capturing its information for inspection and modification.
ResponseWrapper wraps an http.ResponseWriter, capturing response data written to it.

# Type aliases

No description provided by the author