Documentation
¶
Index ¶
- Variables
- type AuthUser
- type UserAuth
- type UserCtx
- func (p *UserCtx) AddUserGroup(uid, gid gobreak.GUID) error
- func (p *UserCtx) All() (lst []AuthUser, err error)
- func (p *UserCtx) Del(id gobreak.GUID) gobreak.IStatus
- func (p *UserCtx) Get(id gobreak.GUID) (m AuthUser, ok bool)
- func (p *UserCtx) GetByMcPwd(mc, pwd string) (m AuthUser, ok bool)
- func (p *UserCtx) PageGroupUser(gid gobreak.GUID, page *filter.PageFilter) (m *db.Paging, err error)
- func (p *UserCtx) PageGroupUserSelect(gid gobreak.GUID, page *filter.PageFilter) (m *db.Paging, err error)
- func (p *UserCtx) PageUser(page *filter.PageFilter) (m *db.Paging, err error)
- func (p *UserCtx) Save(m *AuthUser) gobreak.IStatus
- func (p *UserCtx) UserCountByGroup(gid gobreak.GUID) (n int)
- type UserItem
- type UserLine
- type UserStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var Ctx = &UserCtx{}
View Source
var PtrAuthUser = &AuthUser{}
Functions ¶
This section is empty.
Types ¶
type AuthUser ¶
type UserCtx ¶
type UserCtx struct { }
func (*UserCtx) PageGroupUser ¶
func (*UserCtx) PageGroupUserSelect ¶
type UserStatus ¶
type UserStatus int
UserZt 状态:0正常,1锁定
const ( UserStatusDefault UserStatus = 0 UserStatusLock UserStatus = 1 )
Click to show internal directories.
Click to hide internal directories.