Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDuplicateKey = errors.New("duplicate key value violates unique constraint")
Functions ¶
This section is empty.
Types ¶
type SessionStorage ¶
type SessionStorage struct {
// contains filtered or unexported fields
}
func NewSessionStorage ¶
func NewSessionStorage(db *sqlx.DB) SessionStorage
type UserStorage ¶
type UserStorage struct {
// contains filtered or unexported fields
}
func NewUserStorage ¶
func NewUserStorage(db *sqlx.DB) UserStorage
func (UserStorage) ReadByEmail ¶
func (s UserStorage) ReadByEmail(ctx context.Context, user *User) error
Click to show internal directories.
Click to hide internal directories.