Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeSuccess = 0 CodeFailed = 300 )
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewMessageService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type MessageService ¶
type MessageService struct { pb.UnimplementedMessageServiceServer // contains filtered or unexported fields }
func NewMessageService ¶
func NewMessageService(mu *biz.MessageUseCase, logger log.Logger) *MessageService
func (*MessageService) GetMessageList ¶
func (s *MessageService) GetMessageList(ctx context.Context, req *pb.MessageListRequest) (*pb.MessageListReply, error)
func (*MessageService) MessageAction ¶
func (s *MessageService) MessageAction(ctx context.Context, req *pb.MessageActionRequest) (*pb.MessageActionReply, error)
Click to show internal directories.
Click to hide internal directories.