package
0.0.0-20240921135123-6005b749d246
Repository: https://github.com/g-harel/targetblank.git
Documentation: pkg.go.dev

# Functions

ClientErr creates a new 400 status function error.
CreateRestrictedToken creates a new authentication token that expires.
CreateToken creates a new authentication token that never expires.
InternalErr creates a new function error with an encrypted message.
New creates a lambda handler from a Handler and a Config.
ObfuscatedAuthErr creates a 404 status function error.

# Constants

Expected authorization header configuration.
Expected authorization header configuration.
Common client error messages.
Common client error messages.
Common client error messages.
Common client error messages.

# Variables

ErrRestrictedToken is returned when authenticating restricted tokens.

# Structs

Error adds a status code to the error type.

# Type aliases

Handler is a custom type representing a lambda handler.
Request replaces the api gateway request event.
Response replaces the api gateway response event.