Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ENV = envy.Get("GO_ENV", "development")
ENV is used to help switch settings based on where the application is being run. Default is "development".
Functions ¶
func App ¶
App is where all routes and middleware for buffalo should be defined. This is the nerve center of your application.
func RestrictedHandlerMiddleware ¶
RestrictedHandlerMiddleware searches and parses the jwt token in order to authenticate the request and populate the Context with the user contained in the claims.
func UsersLogin ¶
UsersLogin perform a login with the given credentials.
Types ¶
type LoginRequest ¶
LoginRequest represents a login form.
Click to show internal directories.
Click to hide internal directories.