Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserStore ¶
func NewUserStore() (*userStore, error)
Types ¶
type UserStore ¶
type UserStore interface { // Table operations CreateTable() error // User operations CreateUser(email string, password string, salt []byte, name string) error UpdateUser(id int, email string, name string) error DeleteUser(id int) error GetUser(id int) (usermodel.User, error) GetUserByEmail(email string) (usermodel.User, error) }
Click to show internal directories.
Click to hide internal directories.