Documentation
¶
Index ¶
- Variables
- func GetNonZeroParsedRequestBody[T comparable](ctx context.Context) (T, error)
- func GetNonZeroParsedRequestHeaders[T comparable](ctx context.Context) (T, error)
- func GetNonZeroParsedRequestUrl[T comparable](ctx context.Context) (T, error)
- func GetParsedRequestAuthentication[T any](ctx context.Context) (T, error)
- func GetParsedRequestBody[T any](ctx context.Context) (T, error)
- func GetParsedRequestHeaders[T any](ctx context.Context) (T, error)
- func GetParsedRequestUrl[T any](ctx context.Context) (T, error)
- func GetServerContextValue[T any](ctx context.Context, key any) (T, *response_error.ResponseError)
- func GetServerNonZeroContextValue[T comparable](ctx context.Context, key any) (T, *response_error.ResponseError)
- func GetServerNonZeroParsedRequestAuthentication[T comparable](ctx context.Context) (T, *response_error.ResponseError)
- func GetServerNonZeroParsedRequestBody[T comparable](ctx context.Context) (T, *response_error.ResponseError)
- func GetServerNonZeroParsedRequestHeaders[T comparable](ctx context.Context) (T, *response_error.ResponseError)
- func GetServerNonZeroParsedRequestUrl[T comparable](ctx context.Context) (T, *response_error.ResponseError)
- func GetServerParsedRequestBody[T any](ctx context.Context) (T, *response_error.ResponseError)
- func GetServerParsedRequestHeaders[T any](ctx context.Context) (T, *response_error.ResponseError)
- func MakeStaticContentHeaders(contentType, cacheControl, etag, lastModified string) []*response.HeaderEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var ParsedRequestAuthenticationContextKey = parsedRequestAuthenticationContextType{}
View Source
var ParsedRequestBodyContextKey = parsedRequestBodyContextType{}
View Source
var ParsedRequestHeaderContextKey = parsedRequestHeaderContextType{}
View Source
var ParsedRequestUrlContextKey = parsedRequestUrlContextType{}
Functions ¶
func GetNonZeroParsedRequestBody ¶
func GetNonZeroParsedRequestBody[T comparable](ctx context.Context) (T, error)
func GetNonZeroParsedRequestHeaders ¶
func GetNonZeroParsedRequestHeaders[T comparable](ctx context.Context) (T, error)
func GetNonZeroParsedRequestUrl ¶
func GetNonZeroParsedRequestUrl[T comparable](ctx context.Context) (T, error)
func GetServerContextValue ¶
func GetServerContextValue[T any](ctx context.Context, key any) (T, *response_error.ResponseError)
func GetServerNonZeroContextValue ¶
func GetServerNonZeroContextValue[T comparable](ctx context.Context, key any) (T, *response_error.ResponseError)
func GetServerNonZeroParsedRequestAuthentication ¶
func GetServerNonZeroParsedRequestAuthentication[T comparable](ctx context.Context) (T, *response_error.ResponseError)
func GetServerNonZeroParsedRequestBody ¶
func GetServerNonZeroParsedRequestBody[T comparable](ctx context.Context) (T, *response_error.ResponseError)
func GetServerNonZeroParsedRequestHeaders ¶
func GetServerNonZeroParsedRequestHeaders[T comparable](ctx context.Context) (T, *response_error.ResponseError)
func GetServerNonZeroParsedRequestUrl ¶
func GetServerNonZeroParsedRequestUrl[T comparable](ctx context.Context) (T, *response_error.ResponseError)
func GetServerParsedRequestBody ¶
func GetServerParsedRequestBody[T any](ctx context.Context) (T, *response_error.ResponseError)
func GetServerParsedRequestHeaders ¶
func GetServerParsedRequestHeaders[T any](ctx context.Context) (T, *response_error.ResponseError)
func MakeStaticContentHeaders ¶
func MakeStaticContentHeaders(contentType, cacheControl, etag, lastModified string) []*response.HeaderEntry
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
body_parser
module
|
|
|
client_side_encryption
module
|
|
|
json/schema
module
|
|
|
json
|
|
|
schema
module
|
|
|
jwt
module
|
Click to show internal directories.
Click to hide internal directories.