Documentation ¶ Index ¶ func HMAC(password string) func(ctx *neptulon.ReqCtx) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HMAC ¶ func HMAC(password string) func(ctx *neptulon.ReqCtx) error HMAC is JSON Web Token authentication using HMAC. If successful, token context will be store with the key "userid" in session. If unsuccessful, connection will be closed right away. Types ¶ This section is empty. Source Files ¶ View all Source files jwt_auth.go Click to show internal directories. Click to hide internal directories.