Documentation
¶
Index ¶
- type ManageLogStorage
- func (this_ *ManageLogStorage) Count(in *module_manage.ManageLog) (res int64, err error)
- func (this_ *ManageLogStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManageLogStorage) Insert(in *module_manage.ManageLog) (res int64, err error)
- func (this_ *ManageLogStorage) Page(in *module_manage.ManageLog, pageNo int64, pageSize int64) (res []*module_manage.ManageLog, err error)
- func (this_ *ManageLogStorage) Query(in *module_manage.ManageLog) (res []*module_manage.ManageLog, err error)
- 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 ManagePermissionStorage
- func (this_ *ManagePermissionStorage) DeleteByIds(ids []int64) (res int64, err error)
- func (this_ *ManagePermissionStorage) DeleteByRoleIds(roleIds []int64) (res int64, err error)
- func (this_ *ManagePermissionStorage) DeleteByUserIds(userIds []int64) (res int64, err error)
- func (this_ *ManagePermissionStorage) Insert(in *module_manage.ManagePermission) (res int64, err error)
- func (this_ *ManagePermissionStorage) Query(in *module_manage.ManagePermission) (res []*module_manage.ManagePermission, err error)
- func (this_ *ManagePermissionStorage) QueryByIds(ids []int64) (res []*module_manage.ManagePermission, err error)
- func (this_ *ManagePermissionStorage) QueryByRoleId(roleId int64) (res []*module_manage.ManagePermission, err error)
- func (this_ *ManagePermissionStorage) QueryByRoleIds(roleIds []int64) (res []*module_manage.ManagePermission, err error)
- func (this_ *ManagePermissionStorage) QueryByUserId(userId int64) (res []*module_manage.ManagePermission, err error)
- func (this_ *ManagePermissionStorage) QueryByUserIds(userIds []int64) (res []*module_manage.ManagePermission, 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 ManageLogStorage ¶ added in v1.0.2
type ManageLogStorage struct {
// contains filtered or unexported fields
}
func NewManageLogStorage ¶ added in v1.0.2
func NewManageLogStorage(dbManage db.IService) *ManageLogStorage
func (*ManageLogStorage) Count ¶ added in v1.0.2
func (this_ *ManageLogStorage) Count(in *module_manage.ManageLog) (res int64, err error)
func (*ManageLogStorage) DeleteByIds ¶ added in v1.0.2
func (this_ *ManageLogStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManageLogStorage) Insert ¶ added in v1.0.2
func (this_ *ManageLogStorage) Insert(in *module_manage.ManageLog) (res int64, err error)
func (*ManageLogStorage) Page ¶ added in v1.0.2
func (this_ *ManageLogStorage) Page(in *module_manage.ManageLog, pageNo int64, pageSize int64) (res []*module_manage.ManageLog, err error)
func (*ManageLogStorage) Query ¶ added in v1.0.2
func (this_ *ManageLogStorage) Query(in *module_manage.ManageLog) (res []*module_manage.ManageLog, err error)
type ManageLoginStorage ¶
type ManageLoginStorage struct {
// contains filtered or unexported fields
}
func NewManageLoginStorage ¶
func NewManageLoginStorage(dbManage 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 ManagePermissionStorage ¶ added in v1.0.2
type ManagePermissionStorage struct {
// contains filtered or unexported fields
}
func NewManagePermissionStorage ¶ added in v1.0.2
func NewManagePermissionStorage(dbManage db.IService) *ManagePermissionStorage
func (*ManagePermissionStorage) DeleteByIds ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) DeleteByIds(ids []int64) (res int64, err error)
func (*ManagePermissionStorage) DeleteByRoleIds ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) DeleteByRoleIds(roleIds []int64) (res int64, err error)
func (*ManagePermissionStorage) DeleteByUserIds ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) DeleteByUserIds(userIds []int64) (res int64, err error)
func (*ManagePermissionStorage) Insert ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) Insert(in *module_manage.ManagePermission) (res int64, err error)
func (*ManagePermissionStorage) Query ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) Query(in *module_manage.ManagePermission) (res []*module_manage.ManagePermission, err error)
func (*ManagePermissionStorage) QueryByIds ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) QueryByIds(ids []int64) (res []*module_manage.ManagePermission, err error)
func (*ManagePermissionStorage) QueryByRoleId ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) QueryByRoleId(roleId int64) (res []*module_manage.ManagePermission, err error)
func (*ManagePermissionStorage) QueryByRoleIds ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) QueryByRoleIds(roleIds []int64) (res []*module_manage.ManagePermission, err error)
func (*ManagePermissionStorage) QueryByUserId ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) QueryByUserId(userId int64) (res []*module_manage.ManagePermission, err error)
func (*ManagePermissionStorage) QueryByUserIds ¶ added in v1.0.2
func (this_ *ManagePermissionStorage) QueryByUserIds(userIds []int64) (res []*module_manage.ManagePermission, err error)
type ManageRoleStorage ¶
type ManageRoleStorage struct {
// contains filtered or unexported fields
}
func NewManageRoleStorage ¶
func NewManageRoleStorage(dbManage 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(dbManage 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(dbManage 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.