Documentation ¶
Index ¶
- type Service
- func (s *Service) DeleteInvite(ctx context.Context, req *pb.DeleteInviteRequest) (*pb.DeleteInviteReply, error)
- func (s *Service) GetInvite(ctx context.Context, req *pb.GetInviteRequest) (*pb.GetInviteReply, error)
- func (s *Service) InviteUser(ctx context.Context, req *pb.InviteUserRequest) (*pb.InviteUserReply, error)
- func (s *Service) UpdateInviteStatus(ctx context.Context, req *pb.UpdateInviteStatusRequest) (*pb.UpdateInviteStatusReply, error)
- func (s *Service) UserInviteList(ctx context.Context, req *pb.ListUserInviteRequest) (*pb.ListUserInviteReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pb.UnimplementedInviteServer // contains filtered or unexported fields }
Service invite service
func NewInviteService ¶
NewInviteService 创建邀请操作服务
func (*Service) DeleteInvite ¶
func (s *Service) DeleteInvite(ctx context.Context, req *pb.DeleteInviteRequest) (*pb.DeleteInviteReply, error)
DeleteInvite 删除邀请
func (*Service) GetInvite ¶
func (s *Service) GetInvite(ctx context.Context, req *pb.GetInviteRequest) (*pb.GetInviteReply, error)
GetInvite 获取邀请详情
func (*Service) InviteUser ¶
func (s *Service) InviteUser(ctx context.Context, req *pb.InviteUserRequest) (*pb.InviteUserReply, error)
InviteUser 邀请用户
func (*Service) UpdateInviteStatus ¶
func (s *Service) UpdateInviteStatus(ctx context.Context, req *pb.UpdateInviteStatusRequest) (*pb.UpdateInviteStatusReply, error)
UpdateInviteStatus 更新邀请状态
func (*Service) UserInviteList ¶
func (s *Service) UserInviteList(ctx context.Context, req *pb.ListUserInviteRequest) (*pb.ListUserInviteReply, error)
UserInviteList 获取用户邀请列表
Click to show internal directories.
Click to hide internal directories.