Documentation ¶
Index ¶
- type Client
- type Configs
- type Group
- type Groups
- type Unit
- type Units
- type User
- type Users
- func (e Users) Create(user *User, password string) error
- func (e Users) Delete(user *User) error
- func (e Users) List(unit *Unit, qe query.Encode) ([]*User, int64, error)
- func (e Users) Member(user *User, groups []*Group) error
- func (e Users) Password(user *User, oldPassword, newPassword string) errordeprecated
- func (e Users) Return(id string, qe query.Encode) (*User, error)
- func (e Users) ReturnByUsername(username string, qe query.Encode) (*User, error)
- func (e Users) Search(filters ...string) ([]*User, int64, error)
- func (e Users) SetPassword(user *User, password string) error
- func (e Users) Update(user *User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Users ¶
type Users struct {
// contains filtered or unexported fields
}
func (Users) ReturnByUsername ¶
Click to show internal directories.
Click to hide internal directories.