Versions in this module Expand all Collapse all v1 v1.0.1 Oct 26, 2023 Changes in this version + type JWTAuth struct + ID uint + Name string + Password string + Surname string + Username string + func (c *JWTAuth) GetUser(req *http.Request, key string) error + func (c *JWTAuth) NewToken(key string, duration time.Duration) (string, bool) + func (c *JWTAuth) RefreshToken(req http.ResponseWriter, key string) bool