Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserCredential ¶
type UserCredential interface { Register(userCred model.UserCredentials) error Login(userCred model.UserCredentials) (string, error) FindUserEMail(email string) (userCred model.UserCredentials, err error) }
func NewUserCredentials ¶
func NewUserCredentials(db *sql.DB) UserCredential
Click to show internal directories.
Click to hide internal directories.