invite

package
v1.1.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

func NewInviteService(inviteBiz *biz.InviteBiz) *Service

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 获取用户邀请列表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL