package
0.2.16
Repository: https://github.com/my-ermes-labs/api-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DefaultHandlerOptions returns the default options for the handler.
GetSessionTokenBytesFromHeader returns the session token bytes from the header of the request.
This function handle the full lifecycle of a request, and allow to provide a callback that will be run if the session is acquired.
Create a new HandlerOptionsBuilder.
SetSessionTokenBytesToHeader sets the session token bytes to the header of the response.

# Constants

DefaultTokenHeaderName is the default name of the header that contains the session token.

# Structs

Options for the handler.
Builder for HandlerOptions.