Documentation
¶
Index ¶
- func CloseLogging()
- func CreateToken(email string) (string, error)
- func GenerateRandomString(length int) string
- func GetIntValue(key string) int
- func GetLogger() zerolog.Logger
- func GetStringValue(key string) string
- func InitializeConfiguration()
- func PanicOnError(err error)
- func SentMessage(message Message) error
- type Message
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseLogging ¶
func CloseLogging()
func CreateToken ¶
func GenerateRandomString ¶
func GetIntValue ¶
func GetStringValue ¶
GetStringValue accepts the config key "root_key.sub_key", and returns the associated value.
func InitializeConfiguration ¶
func InitializeConfiguration()
InitializeConfiguration we initially need to tell viper how to access the configuration which type the configuration is of, and where it's located.
func PanicOnError ¶
func PanicOnError(err error)
func SentMessage ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.