Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUserIDNil = errors.New("user id is nil") ErrUserNotFound = errors.New("user not found") ErrUserAuthFail = errors.New("username or password error") )
View Source
var ( ErrRoomIDNil = errors.New("room id is nil") ErrRoomNotFound = errors.New("room not found") )
View Source
var ( ErrSeatIDNil = errors.New("seat id is nil") ErrSeatNotFound = errors.New("seat not found") )
View Source
var ( ErrResvIDNil = errors.New("reservation id is nil") ErrResvTimeIllegal = errors.New("reservation time is illegal") ErrResvCanceled = errors.New("reservation has been cancel") ErrResvSeatTimeConflict = errors.New("seat reservation time conflict") ErrResvUserTimeConflict = errors.New("user reservation time conflict") )
View Source
var ( ErrAdminIDNil = errors.New("admin id is nil") ErrAdminNotFound = errors.New("admin not found") ErrAdminAuthFail = errors.New("admin name or password error") )
View Source
var (
ErrTokenInvalid = errors.New("invalid token")
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.