Documentation ¶
Index ¶
- type UsersGroup
- func (e *UsersGroup) Add(ctx context.Context, req *proto.AddRequest, rep *proto.AddResponse) error
- func (e *UsersGroup) BatchDelete(ctx context.Context, req *proto.DeleteRequest, rep *proto.DeleteResponse) error
- func (e *UsersGroup) Get(ctx context.Context, req *proto.GetRequest, rep *proto.GetResponse) error
- func (e *UsersGroup) GetList(ctx context.Context, req *proto.GetListRequest, rep *proto.GetListResponse) error
- func (e *UsersGroup) Update(ctx context.Context, req *proto.UpdateRequest, rep *proto.UpdateResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UsersGroup ¶
type UsersGroup struct{}
UsersGroup struct
func (*UsersGroup) Add ¶
func (e *UsersGroup) Add(ctx context.Context, req *proto.AddRequest, rep *proto.AddResponse) error
Add 添加一个用户组
func (*UsersGroup) BatchDelete ¶
func (e *UsersGroup) BatchDelete(ctx context.Context, req *proto.DeleteRequest, rep *proto.DeleteResponse) error
BatchDelete 批量删除用户组
func (*UsersGroup) Get ¶
func (e *UsersGroup) Get(ctx context.Context, req *proto.GetRequest, rep *proto.GetResponse) error
Get 获取单个用户组
func (*UsersGroup) GetList ¶
func (e *UsersGroup) GetList(ctx context.Context, req *proto.GetListRequest, rep *proto.GetListResponse) error
GetList 获取用户组列表,默认 id 倒排序
func (*UsersGroup) Update ¶
func (e *UsersGroup) Update(ctx context.Context, req *proto.UpdateRequest, rep *proto.UpdateResponse) error
Update 修改用户组
Click to show internal directories.
Click to hide internal directories.