Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Auth ¶
func Auth(handler fasthttp.RequestHandler) fasthttp.RequestHandler
Auth is a handler middleware that checks that the user has an auth token in their header. If so it will then check to see that the auth is valid before sending the user to the desired end handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.