Documentation ¶
Index ¶
- type User
- func (s *User) Create(cl orm.DB, req twisk.User) (*twisk.User, error)
- func (s *User) Delete(cl orm.DB, user *twisk.User) error
- func (s *User) List(cl orm.DB, query string, limit, offset int) ([]twisk.User, error)
- func (s *User) Update(cl orm.DB, user *twisk.User) (*twisk.User, error)
- func (s *User) View(cl orm.DB, id int64) (*twisk.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct{}
User represents the client for user table
func (*User) List ¶
List returns list of all users retreivable for the current user, depending on role
Click to show internal directories.
Click to hide internal directories.