Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseSession ¶
CloseSession Remove session variables a logout user
Types ¶
type LoginPayloadResponse ¶
type LoginPayloadResponse struct{}
LoginPayloadResponse login need data for login.html
type OAuthService ¶
OAuthService service login URL
type ReqPayload ¶
type ReqPayload struct { User string `json:"username" form:"username" validate:"required"` Password string `json:"password" form:"password" validate:"required"` }
ReqPayload payload for authentication request
Click to show internal directories.
Click to hide internal directories.