Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type AccessToken struct { AccessToken string `json:"access_token"` TokenType string `json:"token_type"` ExpiresIn int `json:"expires_in"` }
func NewAccessToken ¶
func NewAccessToken(token string) *AccessToken
type UserFormLogin ¶
type UserFormLogin struct { Username string `json:"username" binding:"required,min=3,max=12"` Password string `json:"password" binding:"required,min=6,max=20"` }
UserFormLogin user login form
Click to show internal directories.
Click to hide internal directories.