package
0.1.19
Repository: https://github.com/red-gold/telar-core.git
Documentation: pkg.go.dev

# Functions

CompareHash if hash and plan are equal.
No description provided by the author
No description provided by the author
Find takes a slice and looks for an element in it.
GenerateDigits generate fix length of digits.
GenerateJWTToken.
No description provided by the author
GetInterfaceType get inteface type.
GetInterfaceType get inteface type.
GetIPAdress get request source ip address.
GetPrettyURL return *config.AppConfig.BaseRoute.
GetPrettyURL formats according to pretty URL from (baseFunctionURL+url) and returns the resulting string.
GetType get inteface type without package name.
GetTypeLowerFirst get inteface type without package name with lowercase first character.
Hash convert txt to hash.
IsTimeExpired check time expiration in unix.
IsTimeExpired check time expiration in golang time.
LowerFirst lower case the first character of string.
No description provided by the author
MomentToTime Covert moment unix to time.Time.
No description provided by the author
No description provided by the author
NewPhone initialize phone config.
Init allows the webserver or code evaluating the reCaptcha form input to set the reCaptcha private key (string) value, which will be different for every domain.
ParseHtmlBytesTemplate parse html template return in []byte.
ParseHtmlTemplate parse html template return in string.
ReadSecret reads a secret from /var/openfaas/secrets or from env-var 'secret_mount_path' if set.
UTCNow Get moment UTC NOW.
UTCNow Get moment UTC NOW.
UTCUnixToTime Get UTC unix time in go time.
ValidateToken.

# Structs

Request struct.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Request struct.
No description provided by the author
No description provided by the author