middleware

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(err error)

HandleError logs and terminates the program if an error occurs

func HashPassword

func HashPassword(value []byte) string

HashPassword hashes the given password using bcrypt

func LoadEnvVariable

func LoadEnvVariable(key string) string

LoadEnvVariable loads an environment variable value from the .env file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL