Versions in this module Expand all Collapse all v0 v0.13.0 May 11, 2022 Changes in this version + func Refresh(w http.ResponseWriter, r *http.Request) + func SignIn(w http.ResponseWriter, r *http.Request) + func Welcome(w http.ResponseWriter, r *http.Request) + type Claims struct + Password string + Username string + type Credentials struct + Password string + Username string v0.12.0 May 11, 2022 Changes in this version + type UserClaims struct + SessionID int64 + func (u *UserClaims) Valid() error v0.11.0 May 10, 2022 Changes in this version + func GenerateKey(key []byte) []byte v0.10.0 May 10, 2022 Changes in this version + func ComparePassword(password string, hashedPass []byte) error + func HashPassword(password string) (hashedPass []byte, err error) v0.9.0 May 10, 2022 Changes in this version + func ConvertToBase64()