Documentation
¶
Index ¶
- func CreateJWT(email string, env structs.Env) (string, error)
- func GenerateRandomBytes(n uint8) []byte
- func LoggingMiddleware(next http.Handler) http.Handler
- func ParseForm(r *http.Request) map[string]string
- func ServeWebpage(path ...string) *template.Template
- func SetupEnv(BaseWorkingDir string) (structs.Env, error)
- func VerifyJWT(tokenString string, env structs.Env) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateJWT ¶
https://medium.com/@cheickzida/golang-implementing-jwt-token-authentication-bba9bfd84d60
func GenerateRandomBytes ¶
func ServeWebpage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.