Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotExists = echo.NewHTTPError(http.StatusInternalServerError, "user code not exists.")
)
定义错误
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct{}
User represents the client for user table
func (*User) FindByCode ¶
FindByCode queries for single user by username
func (*User) FindByToken ¶
FindByToken queries for single user by token
Click to show internal directories.
Click to hide internal directories.