Documentation ¶
Index ¶
- type RoleService
- func (s *RoleService) CreateRole(ctx context.Context, req *teamapi.CreateRoleRequest) (*teamapi.CreateRoleReply, error)
- func (s *RoleService) DeleteRole(ctx context.Context, req *teamapi.DeleteRoleRequest) (*teamapi.DeleteRoleReply, error)
- func (s *RoleService) GetRole(ctx context.Context, req *teamapi.GetRoleRequest) (*teamapi.GetRoleReply, error)
- func (s *RoleService) GetRoleSelectList(ctx context.Context, req *teamapi.ListRoleRequest) (*teamapi.GetRoleSelectListReply, error)
- func (s *RoleService) ListRole(ctx context.Context, req *teamapi.ListRoleRequest) (*teamapi.ListRoleReply, error)
- func (s *RoleService) UpdateRole(ctx context.Context, req *teamapi.UpdateRoleRequest) (*teamapi.UpdateRoleReply, error)
- func (s *RoleService) UpdateRoleStatus(ctx context.Context, req *teamapi.UpdateRoleStatusRequest) (*teamapi.UpdateRoleStatusReply, error)
- type Service
- func (s *Service) CreateTeam(ctx context.Context, req *teamapi.CreateTeamRequest) (*teamapi.CreateTeamReply, error)
- func (s *Service) GetTeam(ctx context.Context, req *teamapi.GetTeamRequest) (*teamapi.GetTeamReply, error)
- func (s *Service) GetTeamMailConfig(ctx context.Context, _ *teamapi.GetTeamMailConfigRequest) (*teamapi.GetTeamMailConfigReply, error)
- func (s *Service) GetTeamMemberDetail(ctx context.Context, req *teamapi.GetTeamMemberDetailRequest) (*teamapi.GetTeamMemberDetailReply, error)
- func (s *Service) ListTeam(ctx context.Context, req *teamapi.ListTeamRequest) (*teamapi.ListTeamReply, error)
- func (s *Service) ListTeamMember(ctx context.Context, req *teamapi.ListTeamMemberRequest) (*teamapi.ListTeamMemberReply, error)
- func (s *Service) MyTeam(ctx context.Context, _ *teamapi.MyTeamRequest) (*teamapi.MyTeamReply, error)
- func (s *Service) RemoveTeamAdmin(ctx context.Context, req *teamapi.RemoveTeamAdminRequest) (*teamapi.RemoveTeamAdminReply, error)
- func (s *Service) RemoveTeamMember(ctx context.Context, req *teamapi.RemoveTeamMemberRequest) (*teamapi.RemoveTeamMemberReply, error)
- func (s *Service) SetMemberRole(ctx context.Context, req *teamapi.SetMemberRoleRequest) (*teamapi.SetMemberRoleReply, error)
- func (s *Service) SetTeamAdmin(ctx context.Context, req *teamapi.SetTeamAdminRequest) (*teamapi.SetTeamAdminReply, error)
- func (s *Service) SetTeamMailConfig(ctx context.Context, req *teamapi.SetTeamMailConfigRequest) (*teamapi.SetTeamMailConfigReply, error)
- func (s *Service) TransferTeamLeader(ctx context.Context, req *teamapi.TransferTeamLeaderRequest) (*teamapi.TransferTeamLeaderReply, error)
- func (s *Service) UpdateTeam(ctx context.Context, req *teamapi.UpdateTeamRequest) (*teamapi.UpdateTeamReply, error)
- func (s *Service) UpdateTeamMemberStatus(ctx context.Context, req *teamapi.UpdateTeamMemberStatusRequest) (*teamapi.UpdateTeamMemberStatusReply, error)
- func (s *Service) UpdateTeamStatus(ctx context.Context, req *teamapi.UpdateTeamStatusRequest) (*teamapi.UpdateTeamStatusReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleService ¶
type RoleService struct { teamapi.UnimplementedRoleServer // contains filtered or unexported fields }
RoleService 角色服务
func NewRoleService ¶
func NewRoleService(teamRoleBiz *biz.TeamRoleBiz) *RoleService
NewRoleService 创建角色服务
func (*RoleService) CreateRole ¶
func (s *RoleService) CreateRole(ctx context.Context, req *teamapi.CreateRoleRequest) (*teamapi.CreateRoleReply, error)
CreateRole 创建角色
func (*RoleService) DeleteRole ¶
func (s *RoleService) DeleteRole(ctx context.Context, req *teamapi.DeleteRoleRequest) (*teamapi.DeleteRoleReply, error)
DeleteRole 删除角色
func (*RoleService) GetRole ¶
func (s *RoleService) GetRole(ctx context.Context, req *teamapi.GetRoleRequest) (*teamapi.GetRoleReply, error)
GetRole 获取角色详情
func (*RoleService) GetRoleSelectList ¶
func (s *RoleService) GetRoleSelectList(ctx context.Context, req *teamapi.ListRoleRequest) (*teamapi.GetRoleSelectListReply, error)
GetRoleSelectList 获取角色下拉列表
func (*RoleService) ListRole ¶
func (s *RoleService) ListRole(ctx context.Context, req *teamapi.ListRoleRequest) (*teamapi.ListRoleReply, error)
ListRole 获取角色列表
func (*RoleService) UpdateRole ¶
func (s *RoleService) UpdateRole(ctx context.Context, req *teamapi.UpdateRoleRequest) (*teamapi.UpdateRoleReply, error)
UpdateRole 更新角色
func (*RoleService) UpdateRoleStatus ¶
func (s *RoleService) UpdateRoleStatus(ctx context.Context, req *teamapi.UpdateRoleStatusRequest) (*teamapi.UpdateRoleStatusReply, error)
UpdateRoleStatus 更新角色状态
type Service ¶
type Service struct { teamapi.UnimplementedTeamServer // contains filtered or unexported fields }
Service 团队管理服务
func (*Service) CreateTeam ¶
func (s *Service) CreateTeam(ctx context.Context, req *teamapi.CreateTeamRequest) (*teamapi.CreateTeamReply, error)
CreateTeam 创建团队
func (*Service) GetTeam ¶
func (s *Service) GetTeam(ctx context.Context, req *teamapi.GetTeamRequest) (*teamapi.GetTeamReply, error)
GetTeam 获取团队
func (*Service) GetTeamMailConfig ¶ added in v1.1.0
func (s *Service) GetTeamMailConfig(ctx context.Context, _ *teamapi.GetTeamMailConfigRequest) (*teamapi.GetTeamMailConfigReply, error)
GetTeamMailConfig 获取团队邮件配置
func (*Service) GetTeamMemberDetail ¶ added in v1.1.0
func (s *Service) GetTeamMemberDetail(ctx context.Context, req *teamapi.GetTeamMemberDetailRequest) (*teamapi.GetTeamMemberDetailReply, error)
GetTeamMemberDetail 获取团队成员详情
func (*Service) ListTeam ¶
func (s *Service) ListTeam(ctx context.Context, req *teamapi.ListTeamRequest) (*teamapi.ListTeamReply, error)
ListTeam 获取团队列表
func (*Service) ListTeamMember ¶
func (s *Service) ListTeamMember(ctx context.Context, req *teamapi.ListTeamMemberRequest) (*teamapi.ListTeamMemberReply, error)
ListTeamMember 获取团队成员列表
func (*Service) MyTeam ¶
func (s *Service) MyTeam(ctx context.Context, _ *teamapi.MyTeamRequest) (*teamapi.MyTeamReply, error)
MyTeam 获取当前用户团队列表
func (*Service) RemoveTeamAdmin ¶
func (s *Service) RemoveTeamAdmin(ctx context.Context, req *teamapi.RemoveTeamAdminRequest) (*teamapi.RemoveTeamAdminReply, error)
RemoveTeamAdmin 移除团队管理员
func (*Service) RemoveTeamMember ¶
func (s *Service) RemoveTeamMember(ctx context.Context, req *teamapi.RemoveTeamMemberRequest) (*teamapi.RemoveTeamMemberReply, error)
RemoveTeamMember 移除团队成员
func (*Service) SetMemberRole ¶
func (s *Service) SetMemberRole(ctx context.Context, req *teamapi.SetMemberRoleRequest) (*teamapi.SetMemberRoleReply, error)
SetMemberRole 设置团队成员角色
func (*Service) SetTeamAdmin ¶
func (s *Service) SetTeamAdmin(ctx context.Context, req *teamapi.SetTeamAdminRequest) (*teamapi.SetTeamAdminReply, error)
SetTeamAdmin 设置团队管理员
func (*Service) SetTeamMailConfig ¶
func (s *Service) SetTeamMailConfig(ctx context.Context, req *teamapi.SetTeamMailConfigRequest) (*teamapi.SetTeamMailConfigReply, error)
SetTeamMailConfig 设置团队邮件配置
func (*Service) TransferTeamLeader ¶
func (s *Service) TransferTeamLeader(ctx context.Context, req *teamapi.TransferTeamLeaderRequest) (*teamapi.TransferTeamLeaderReply, error)
TransferTeamLeader 转移团队负责人
func (*Service) UpdateTeam ¶
func (s *Service) UpdateTeam(ctx context.Context, req *teamapi.UpdateTeamRequest) (*teamapi.UpdateTeamReply, error)
UpdateTeam 更新团队
func (*Service) UpdateTeamMemberStatus ¶ added in v1.1.0
func (s *Service) UpdateTeamMemberStatus(ctx context.Context, req *teamapi.UpdateTeamMemberStatusRequest) (*teamapi.UpdateTeamMemberStatusReply, error)
UpdateTeamMemberStatus 更新团队成员状态
func (*Service) UpdateTeamStatus ¶
func (s *Service) UpdateTeamStatus(ctx context.Context, req *teamapi.UpdateTeamStatusRequest) (*teamapi.UpdateTeamStatusReply, error)
UpdateTeamStatus 更新团队状态
Click to show internal directories.
Click to hide internal directories.