Documentation
¶
Index ¶
Constants ¶
View Source
const JWTUserKey = "jwt-user"
JWTUserKey is key for JWT claims stored in request context.
Variables ¶
This section is empty.
Functions ¶
func DefaultEnv ¶
DefaultEnv returns content of shell variable assigned to given key. If result is empty, returns fallback value.
Types ¶
type Opener ¶ added in v0.2.0
Opener is generic function for reading files. For example: Opener can open files from filesystem or files embedded withing binary. Given string could be a path or other indicator.
func MakeOpener ¶ added in v0.2.0
MakeOpener returns opener depending on given config.
Click to show internal directories.
Click to hide internal directories.