Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MiddleWare ¶
func MiddleWare(ctx iris.Context)
MiddleWare exports the middleware function to check authentification
func RequireAuthRoute ¶
func RequireAuthRoute(login string)
RequireAuthRoute gets the route to call if auth fail
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.