Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
Types ¶
type Login ¶
type Login struct {
// contains filtered or unexported fields
}
func (*Login) Authenticate ¶
func (l *Login) Authenticate(userCredentials dto.UserCredentials) (*TokenResponse, error)
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.