Documentation ¶
Index ¶
Constants ¶
View Source
const TokenFieldName = "authenticity_token"
TokenFieldName is the field name of the authenticity token in the meta and hidden form fields
Variables ¶
This section is empty.
Functions ¶
func LoggedInUser ¶
Types ¶
type AuthenticityToken ¶
AuthenticityToken holds an authenticity token and lets you print it out, etc...
func AuthenticityTokenFromCtx ¶
func AuthenticityTokenFromCtx(c buffalo.Context) AuthenticityToken
AuthenticityTokenFromCtx gets the authenticity_token value from the session and returns it as a string. An empty string will be returned if there is no authenticity_token available
func (AuthenticityToken) String ¶
func (a AuthenticityToken) String() string
Click to show internal directories.
Click to hide internal directories.