Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
Datastore implements the Repository interface
func NewDatastore ¶
NewDatastore constructs a new Repository
func (*Datastore) VerifyEmail ¶
VerifyEmail verify user
type Login ¶
type Login struct { ID string `jsonapi:"primary,logins"` Username string `jsonapi:"attr,username"` Password string `jsonapi:"attr,password,omitempty"` Token string `jsonapi:"attr,token,omitempty"` EmailVerificationCode string `jsonapi:"attr,email_verification_code,omitempty"` }
Login represents a logged in user session
Click to show internal directories.
Click to hide internal directories.