Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
Session represents the client for session table
func NewSession ¶
NewSession returns a new session database instance
func (*Session) DeleteExpired ¶
DeleteExpired deletes expired sessions
type User ¶
User represents the client for user table
func (*User) FindByEmail ¶
FindByEmail finds a user by the given email
func (*User) List ¶
func (r *User) List(ctx context.Context, output interface{}, count *int64, lc *requestutil.ListCondition[UsersFilter]) error
List reads all users by given conditions
type UsersFilter ¶
type UsersFilter struct {
Search string
}
UsersFilter represents the filter type for listing and filtering users
Click to show internal directories.
Click to hide internal directories.