Documentation ¶
Index ¶
- func UserAdd(name string, passwd string) error
- func UserDel(name string) error
- func UserDisable(name string) error
- func UserEnable(name string) error
- func UserStatUpdate(name string, stat int64) error
- func UserUpdateNotice(callback func(event db.WatchEvent)) error
- func UserUpdateToken(name string) error
- func UsergroupAdd(name string) error
- func UsergroupDel(name string) error
- func UsergroupStatUpdate(name string, stat int64) error
- func UsergroupUpdateNotice(callback func(event db.WatchEvent)) error
- func UsergroupUsed(name string) error
- func UsergroupUserUpdate(name string, user []string) error
- func Usergroupunused(name string) error
- type User
- type UserSortNew
- type Usergroup
- type UsergroupSortNew
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserDisable ¶
func UserEnable ¶
func UserStatUpdate ¶
func UserUpdateNotice ¶
func UserUpdateNotice(callback func(event db.WatchEvent)) error
func UserUpdateToken ¶
func UsergroupAdd ¶
func UsergroupDel ¶
func UsergroupStatUpdate ¶
func UsergroupUpdateNotice ¶
func UsergroupUpdateNotice(callback func(event db.WatchEvent)) error
func UsergroupUsed ¶
func UsergroupUserUpdate ¶
func Usergroupunused ¶
Types ¶
type User ¶
func UserAllGet ¶
type UserSortNew ¶
type UserSortNew []*User
func (UserSortNew) Len ¶
func (a UserSortNew) Len() int
func (UserSortNew) Less ¶
func (a UserSortNew) Less(i, j int) bool
func (UserSortNew) Swap ¶
func (a UserSortNew) Swap(i, j int)
type UsergroupSortNew ¶
type UsergroupSortNew []*Usergroup
func (UsergroupSortNew) Len ¶
func (a UsergroupSortNew) Len() int
func (UsergroupSortNew) Less ¶
func (a UsergroupSortNew) Less(i, j int) bool
func (UsergroupSortNew) Swap ¶
func (a UsergroupSortNew) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.