Documentation ¶
Index ¶
- func AuthLoginWrapperErrorHelper(ctx *fasthttp.RequestCtx, err, username, password string)
- func AuthRegisterErrorHelper(ctx *fasthttp.RequestCtx, check, username, password string)
- func Check(err error, method string) bool
- func Random(min int, max int) int
- func SetDebugLevel(level string) log.Level
- func VerifyCommandLineInput() datastructures.Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthLoginWrapperErrorHelper ¶
func AuthLoginWrapperErrorHelper(ctx *fasthttp.RequestCtx, err, username, password string)
func AuthRegisterErrorHelper ¶
func AuthRegisterErrorHelper(ctx *fasthttp.RequestCtx, check, username, password string)
func Random ¶
Random initalizate a new seed using the UNIX Nano time and return an integer between the 2 input value
func SetDebugLevel ¶
SetDebugLevel return the LogRus object by the given string
func VerifyCommandLineInput ¶
func VerifyCommandLineInput() datastructures.Configuration
VerifyCommandLineInput is delegated to manage the inputer parameter provide with the input flag from command line
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.