Documentation
¶
Index ¶
- type ManageLoginStorage
- func (this_ *ManageLoginStorage) Count(in *module_manage.ManageLogin) (res int64, err error)
- func (this_ *ManageLoginStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManageLoginStorage) GetById(id int64) (res *module_manage.ManageLogin, err error)
- func (this_ *ManageLoginStorage) GetByToken(token string) (res *module_manage.ManageLogin, err error)
- func (this_ *ManageLoginStorage) Insert(in *module_manage.ManageLogin) (res int64, err error)
- func (this_ *ManageLoginStorage) Logout(id int64) (res int64, err error)
- func (this_ *ManageLoginStorage) Page(in *module_manage.ManageLogin, pageNo int64, pageSize int64) (res []*module_manage.ManageLogin, err error)
- func (this_ *ManageLoginStorage) Query(in *module_manage.ManageLogin) (res []*module_manage.ManageLogin, err error)
- func (this_ *ManageLoginStorage) RemoveByIds(ids []int64) (res int64, err error)
- func (this_ *ManageLoginStorage) Update(in *module_manage.ManageLogin) (res int64, err error)
- func (this_ *ManageLoginStorage) Use(id int64) (res int64, err error)
- type ManageRolePermissionStorage
- func (this_ *ManageRolePermissionStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManageRolePermissionStorage) Insert(in *module_manage.ManageRolePermission) (res int64, err error)
- func (this_ *ManageRolePermissionStorage) Query(in *module_manage.ManageRolePermission) (res []*module_manage.ManageRolePermission, err error)
- func (this_ *ManageRolePermissionStorage) QueryByRoleId(roleId int64) (res []*module_manage.ManageRolePermission, err error)
- type ManageRoleStorage
- func (this_ *ManageRoleStorage) Count(in *module_manage.ManageRole) (res int64, err error)
- func (this_ *ManageRoleStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManageRoleStorage) GetById(id int64) (res *module_manage.ManageRole, err error)
- func (this_ *ManageRoleStorage) GetByIds(ids []int64) (res []*module_manage.ManageRole, err error)
- func (this_ *ManageRoleStorage) Insert(in *module_manage.ManageRole) (res int64, err error)
- func (this_ *ManageRoleStorage) Page(in *module_manage.ManageRole, pageNo int64, pageSize int64) (res []*module_manage.ManageRole, err error)
- func (this_ *ManageRoleStorage) Query(in *module_manage.ManageRole) (res []*module_manage.ManageRole, err error)
- func (this_ *ManageRoleStorage) Update(in *module_manage.ManageRole) (res int64, err error)
- type ManageRoleUserStorage
- func (this_ *ManageRoleUserStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManageRoleUserStorage) Insert(in *module_manage.ManageRoleUser) (res int64, err error)
- func (this_ *ManageRoleUserStorage) Query(in *module_manage.ManageRoleUser) (res []*module_manage.ManageRoleUser, err error)
- func (this_ *ManageRoleUserStorage) QueryByRoleId(roleId int64) (res []*module_manage.ManageRoleUser, err error)
- func (this_ *ManageRoleUserStorage) QueryByRoleIdAndUserId(roleId int64, userId int64) (res []*module_manage.ManageRoleUser, err error)
- func (this_ *ManageRoleUserStorage) QueryByUserId(userId int64) (res []*module_manage.ManageRoleUser, err error)
- func (this_ *ManageRoleUserStorage) QueryRoleUserIds(roleId int64) (res []int64, err error)
- func (this_ *ManageRoleUserStorage) QueryUserRoleIds(userId int64) (res []int64, err error)
- type ManageUserStorage
- func (this_ *ManageUserStorage) Count(in *module_manage.ManageUser) (res int64, err error)
- func (this_ *ManageUserStorage) CountByAccount(account string) (res int64, err error)
- func (this_ *ManageUserStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManageUserStorage) Disable(id int64) (res int64, err error)
- func (this_ *ManageUserStorage) Enable(id int64) (res int64, err error)
- func (this_ *ManageUserStorage) GetById(id int64) (res *module_manage.ManageUser, err error)
- func (this_ *ManageUserStorage) GetByIds(ids []int64) (res []*module_manage.ManageUser, err error)
- func (this_ *ManageUserStorage) Insert(in *module_manage.ManageUser) (res int64, err error)
- func (this_ *ManageUserStorage) Page(in *module_manage.ManageUser, pageNo int64, pageSize int64) (res []*module_manage.ManageUser, err error)
- func (this_ *ManageUserStorage) Query(in *module_manage.ManageUser) (res []*module_manage.ManageUser, err error)
- func (this_ *ManageUserStorage) QueryByAccount(account string) (res []*module_manage.ManageUser, err error)
- func (this_ *ManageUserStorage) RemoveByIds(ids []int64) (res int64, err error)
- func (this_ *ManageUserStorage) Update(in *module_manage.ManageUser) (res int64, err error)
- func (this_ *ManageUserStorage) UpdatePassword(id int64, salt string, password string) (res int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManageLoginStorage ¶
type ManageLoginStorage struct {
// contains filtered or unexported fields
}
func NewManageLoginStorage ¶
func NewManageLoginStorage(dbService db.IService) *ManageLoginStorage
func (*ManageLoginStorage) Count ¶
func (this_ *ManageLoginStorage) Count(in *module_manage.ManageLogin) (res int64, err error)
func (*ManageLoginStorage) DeleteByIds ¶
func (this_ *ManageLoginStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManageLoginStorage) GetById ¶
func (this_ *ManageLoginStorage) GetById(id int64) (res *module_manage.ManageLogin, err error)
func (*ManageLoginStorage) GetByToken ¶
func (this_ *ManageLoginStorage) GetByToken(token string) (res *module_manage.ManageLogin, err error)
func (*ManageLoginStorage) Insert ¶
func (this_ *ManageLoginStorage) Insert(in *module_manage.ManageLogin) (res int64, err error)
func (*ManageLoginStorage) Logout ¶
func (this_ *ManageLoginStorage) Logout(id int64) (res int64, err error)
func (*ManageLoginStorage) Page ¶
func (this_ *ManageLoginStorage) Page(in *module_manage.ManageLogin, pageNo int64, pageSize int64) (res []*module_manage.ManageLogin, err error)
func (*ManageLoginStorage) Query ¶
func (this_ *ManageLoginStorage) Query(in *module_manage.ManageLogin) (res []*module_manage.ManageLogin, err error)
func (*ManageLoginStorage) RemoveByIds ¶
func (this_ *ManageLoginStorage) RemoveByIds(ids []int64) (res int64, err error)
func (*ManageLoginStorage) Update ¶
func (this_ *ManageLoginStorage) Update(in *module_manage.ManageLogin) (res int64, err error)
type ManageRolePermissionStorage ¶
type ManageRolePermissionStorage struct {
// contains filtered or unexported fields
}
func NewManageRolePermissionStorage ¶
func NewManageRolePermissionStorage(dbService db.IService) *ManageRolePermissionStorage
func (*ManageRolePermissionStorage) DeleteByIds ¶
func (this_ *ManageRolePermissionStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManageRolePermissionStorage) Insert ¶
func (this_ *ManageRolePermissionStorage) Insert(in *module_manage.ManageRolePermission) (res int64, err error)
func (*ManageRolePermissionStorage) Query ¶
func (this_ *ManageRolePermissionStorage) Query(in *module_manage.ManageRolePermission) (res []*module_manage.ManageRolePermission, err error)
func (*ManageRolePermissionStorage) QueryByRoleId ¶
func (this_ *ManageRolePermissionStorage) QueryByRoleId(roleId int64) (res []*module_manage.ManageRolePermission, err error)
type ManageRoleStorage ¶
type ManageRoleStorage struct {
// contains filtered or unexported fields
}
func NewManageRoleStorage ¶
func NewManageRoleStorage(dbService db.IService) *ManageRoleStorage
func (*ManageRoleStorage) Count ¶
func (this_ *ManageRoleStorage) Count(in *module_manage.ManageRole) (res int64, err error)
func (*ManageRoleStorage) DeleteByIds ¶
func (this_ *ManageRoleStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManageRoleStorage) GetById ¶
func (this_ *ManageRoleStorage) GetById(id int64) (res *module_manage.ManageRole, err error)
func (*ManageRoleStorage) GetByIds ¶
func (this_ *ManageRoleStorage) GetByIds(ids []int64) (res []*module_manage.ManageRole, err error)
func (*ManageRoleStorage) Insert ¶
func (this_ *ManageRoleStorage) Insert(in *module_manage.ManageRole) (res int64, err error)
func (*ManageRoleStorage) Page ¶
func (this_ *ManageRoleStorage) Page(in *module_manage.ManageRole, pageNo int64, pageSize int64) (res []*module_manage.ManageRole, err error)
func (*ManageRoleStorage) Query ¶
func (this_ *ManageRoleStorage) Query(in *module_manage.ManageRole) (res []*module_manage.ManageRole, err error)
func (*ManageRoleStorage) Update ¶
func (this_ *ManageRoleStorage) Update(in *module_manage.ManageRole) (res int64, err error)
type ManageRoleUserStorage ¶
type ManageRoleUserStorage struct {
// contains filtered or unexported fields
}
func NewManageRoleUserStorage ¶
func NewManageRoleUserStorage(dbService db.IService) *ManageRoleUserStorage
func (*ManageRoleUserStorage) DeleteByIds ¶
func (this_ *ManageRoleUserStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManageRoleUserStorage) Insert ¶
func (this_ *ManageRoleUserStorage) Insert(in *module_manage.ManageRoleUser) (res int64, err error)
func (*ManageRoleUserStorage) Query ¶
func (this_ *ManageRoleUserStorage) Query(in *module_manage.ManageRoleUser) (res []*module_manage.ManageRoleUser, err error)
func (*ManageRoleUserStorage) QueryByRoleId ¶
func (this_ *ManageRoleUserStorage) QueryByRoleId(roleId int64) (res []*module_manage.ManageRoleUser, err error)
func (*ManageRoleUserStorage) QueryByRoleIdAndUserId ¶
func (this_ *ManageRoleUserStorage) QueryByRoleIdAndUserId(roleId int64, userId int64) (res []*module_manage.ManageRoleUser, err error)
func (*ManageRoleUserStorage) QueryByUserId ¶
func (this_ *ManageRoleUserStorage) QueryByUserId(userId int64) (res []*module_manage.ManageRoleUser, err error)
func (*ManageRoleUserStorage) QueryRoleUserIds ¶
func (this_ *ManageRoleUserStorage) QueryRoleUserIds(roleId int64) (res []int64, err error)
func (*ManageRoleUserStorage) QueryUserRoleIds ¶
func (this_ *ManageRoleUserStorage) QueryUserRoleIds(userId int64) (res []int64, err error)
type ManageUserStorage ¶
type ManageUserStorage struct {
// contains filtered or unexported fields
}
func NewManageUserStorage ¶
func NewManageUserStorage(dbService db.IService) *ManageUserStorage
func (*ManageUserStorage) Count ¶
func (this_ *ManageUserStorage) Count(in *module_manage.ManageUser) (res int64, err error)
func (*ManageUserStorage) CountByAccount ¶
func (this_ *ManageUserStorage) CountByAccount(account string) (res int64, err error)
func (*ManageUserStorage) DeleteByIds ¶
func (this_ *ManageUserStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManageUserStorage) Disable ¶
func (this_ *ManageUserStorage) Disable(id int64) (res int64, err error)
func (*ManageUserStorage) Enable ¶
func (this_ *ManageUserStorage) Enable(id int64) (res int64, err error)
func (*ManageUserStorage) GetById ¶
func (this_ *ManageUserStorage) GetById(id int64) (res *module_manage.ManageUser, err error)
func (*ManageUserStorage) GetByIds ¶
func (this_ *ManageUserStorage) GetByIds(ids []int64) (res []*module_manage.ManageUser, err error)
func (*ManageUserStorage) Insert ¶
func (this_ *ManageUserStorage) Insert(in *module_manage.ManageUser) (res int64, err error)
func (*ManageUserStorage) Page ¶
func (this_ *ManageUserStorage) Page(in *module_manage.ManageUser, pageNo int64, pageSize int64) (res []*module_manage.ManageUser, err error)
func (*ManageUserStorage) Query ¶
func (this_ *ManageUserStorage) Query(in *module_manage.ManageUser) (res []*module_manage.ManageUser, err error)
func (*ManageUserStorage) QueryByAccount ¶
func (this_ *ManageUserStorage) QueryByAccount(account string) (res []*module_manage.ManageUser, err error)
func (*ManageUserStorage) RemoveByIds ¶
func (this_ *ManageUserStorage) RemoveByIds(ids []int64) (res int64, err error)
func (*ManageUserStorage) Update ¶
func (this_ *ManageUserStorage) Update(in *module_manage.ManageUser) (res int64, err error)
func (*ManageUserStorage) UpdatePassword ¶
Click to show internal directories.
Click to hide internal directories.