package
0.0.0-20210505031818-76742328cd97
Repository: https://github.com/usagibooru/accounts-server.git
Documentation: pkg.go.dev

# Functions

Debug - shorthand Log.Debug.
Error - shorthand Log.Error.
Fatal - shorthand Log.Fatal.
GetConfig creates ConfigList from environment variables.
GetShortUUID makes random characters with specified length.
Info - shorthand Log.Info.
NewElasticSearchClient creates a new elasticsearch client.
NewMongoDBClient creates a new mongodb client.
NewRouterWithInject creates a new router with inject header middleware.
Warn - shorthand Log.Warn.

# Variables

ErrInviteNotFound is shared error for handling createAccount method.
Log - log client.

# Structs

ConfigList stores credentials.