Versions in this module Expand all Collapse all v0 v0.11.0 Aug 1, 2019 v0.10.1 Mar 25, 2019 v0.10.0 Jan 1, 2019 Changes in this version + func Auth(next http.HandlerFunc) http.HandlerFunc + func IsUser(usr *User, password string) bool + func IsValid(req *http.Request) bool + type User struct + Email string + Hash string + ID int + Salt string + func New(email, password string) (*User, error)