Documentation ¶
Index ¶
- type MessageService
- func (s *MessageService) CreateRoomEvent(ctx context.Context, req *pb.RoomEvent) (*api.Success, error)
- func (s *MessageService) CreateUserEvent(ctx context.Context, req *pb.UserEvent) (*api.Success, error)
- func (s *MessageService) GetAlismsCode(ctx context.Context, req *pb.Phone) (*api.Success, error)
- func (s *MessageService) PostAlismsCode(ctx context.Context, req *pb.SMSCode) (*api.Success, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageService ¶
type MessageService struct { pb.UnimplementedMessageServer // contains filtered or unexported fields }
func NewMessageService ¶
func NewMessageService(redis *redis.Client) *MessageService
func (*MessageService) CreateRoomEvent ¶
func (*MessageService) CreateUserEvent ¶
func (*MessageService) GetAlismsCode ¶
func (*MessageService) PostAlismsCode ¶
Click to show internal directories.
Click to hide internal directories.