Documentation ¶
Index ¶
- type ClaimBIZ
- func (a *ClaimBIZ) Get(session *wa.Session, uid wa.ID, key string) (string, error)
- func (a *ClaimBIZ) GetKeys(session *wa.Session) ([]string, error)
- func (a *ClaimBIZ) Query(session *wa.Session, uid wa.ID) ([]wa.Item[string, string], error)
- func (a *ClaimBIZ) Set(session *wa.Session, uid wa.ID, key string, value string) error
- type GroupBIZ
- func (a *GroupBIZ) Create(session *wa.Session, group *wa.Group) (*wa.Group, error)
- func (a *GroupBIZ) Delete(session *wa.Session, gid wa.ID) error
- func (a *GroupBIZ) Get(session *wa.Session, gid wa.ID) (*wa.Group, error)
- func (a *GroupBIZ) Query(session *wa.Session, gid wa.ID, keyword string) ([]*wa.Group, error)
- func (a *GroupBIZ) Update(session *wa.Session, group *wa.Group) (*wa.Group, error)
- type UserBIZ
- func (a *UserBIZ) Create(session *wa.Session, user *wa.User) (*wa.User, error)
- func (a *UserBIZ) Delete(session *wa.Session, uid wa.ID) error
- func (a *UserBIZ) Get(session *wa.Session, uid wa.ID) (*wa.User, error)
- func (a *UserBIZ) Query(session *wa.Session, gid wa.ID, key string, value string, keyword string) ([]*wa.User, error)
- func (a *UserBIZ) ResetPassword(session *wa.Session, uid wa.ID) (string, error)
- func (a *UserBIZ) Update(session *wa.Session, user *wa.User) (*wa.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClaimBIZ ¶
type ClaimBIZ struct {
// contains filtered or unexported fields
}
ClaimBIZ represents the claim BIZ.
func NewClaimBIZ ¶
NewClaimBIZ creates a new claim BIZ.
type GroupBIZ ¶
type GroupBIZ struct {
// contains filtered or unexported fields
}
GroupBIZ represents the group BIZ.
func NewGroupBIZ ¶
NewGroupBIZ creates a new group BIZ.
type UserBIZ ¶
type UserBIZ struct {
// contains filtered or unexported fields
}
UserBIZ represents the user BIZ.
func NewUserBIZ ¶
func NewUserBIZ(sessionMGR *wa.SessionMGR, userDAO wa.UserDAO) *UserBIZ
NewUserBIZ creates a new user BIZ.
func (*UserBIZ) Query ¶
func (a *UserBIZ) Query(session *wa.Session, gid wa.ID, key string, value string, keyword string) ([]*wa.User, error)
Query queries the users by keyword.
func (*UserBIZ) ResetPassword ¶
ResetPassword resets the user password.
Click to show internal directories.
Click to hide internal directories.