Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthenticatePayload ¶
type AuthenticatePayload struct {
Status int64 `json:"status"`
Success bool `json:"success"`
Message string `json:"message"`
Token string `json:"token"`
}
func ErrAuthenticate ¶
func ErrAuthenticate(errvalue string) AuthenticatePayload
type AuthenticateReq ¶
type AuthenticateReq struct {
Type string `json:"type" binding:"required"`
}
type GenericAuthHeaders ¶
type GenericAuthHeaders struct {
Authorization string
}
Click to show internal directories.
Click to hide internal directories.