Documentation ¶
Index ¶
- Variables
- type NotifyRobotService
- func (s *NotifyRobotService) CreateRobot(ctx context.Context, req *pb.CreateRobotReq) (*pb.Result, error)
- func (s *NotifyRobotService) GetRobotInfo(ctx context.Context, req *pb.GetRobotInfoReq) (*pb.GetRobotInfoResp, error)
- func (s *NotifyRobotService) GetRobotList(ctx context.Context, req *pb.RobotListReq) (*pb.GetRobotListResp, error)
- func (s *NotifyRobotService) UpdateRobot(ctx context.Context, req *pb.UpdateRobotReq) (*pb.Result, error)
- type SystemnotifyMessageService
- func (s *SystemnotifyMessageService) CreateSysMessage(ctx context.Context, req *pb.SysMessageReq) (*pb.SysMessageReply, error)
- func (s *SystemnotifyMessageService) ListLastSysMessages(ctx context.Context, req *pb.ListLastSysMessageReq) (*pb.ListLastSysMessageReply, error)
- func (s *SystemnotifyMessageService) ListSysMessage(ctx context.Context, req *pb.ListSysMessageReq) (*pb.ListSysMessageReply, error)
- func (s *SystemnotifyMessageService) UpdateSysMessages(ctx context.Context, req *pb.UpdateSysMessageReq) (*pb.UpdateSysMessageReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(socketio.NewSocketioServer, message.NewMessageService, file.NewFileService, message.NewSessionService, message.NewIMessageService, message.NewSystemService, NewSystemnotifyMessageService, NewNotifyRobotService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type NotifyRobotService ¶
type NotifyRobotService struct { pb.UnimplementedNotifyRobotServer // contains filtered or unexported fields }
func NewNotifyRobotService ¶
func NewNotifyRobotService(imBiz *biz.IMBiz, log log.Logger) *NotifyRobotService
func (*NotifyRobotService) CreateRobot ¶
func (s *NotifyRobotService) CreateRobot(ctx context.Context, req *pb.CreateRobotReq) (*pb.Result, error)
func (*NotifyRobotService) GetRobotInfo ¶
func (s *NotifyRobotService) GetRobotInfo(ctx context.Context, req *pb.GetRobotInfoReq) (*pb.GetRobotInfoResp, error)
func (*NotifyRobotService) GetRobotList ¶
func (s *NotifyRobotService) GetRobotList(ctx context.Context, req *pb.RobotListReq) (*pb.GetRobotListResp, error)
func (*NotifyRobotService) UpdateRobot ¶
func (s *NotifyRobotService) UpdateRobot(ctx context.Context, req *pb.UpdateRobotReq) (*pb.Result, error)
type SystemnotifyMessageService ¶
type SystemnotifyMessageService struct { pb.UnimplementedSystemnotifyMessageServer // contains filtered or unexported fields }
func NewSystemnotifyMessageService ¶
func NewSystemnotifyMessageService(imBiz *biz.IMBiz, log log.Logger) *SystemnotifyMessageService
func (*SystemnotifyMessageService) CreateSysMessage ¶
func (s *SystemnotifyMessageService) CreateSysMessage(ctx context.Context, req *pb.SysMessageReq) (*pb.SysMessageReply, error)
func (*SystemnotifyMessageService) ListLastSysMessages ¶
func (s *SystemnotifyMessageService) ListLastSysMessages(ctx context.Context, req *pb.ListLastSysMessageReq) (*pb.ListLastSysMessageReply, error)
func (*SystemnotifyMessageService) ListSysMessage ¶
func (s *SystemnotifyMessageService) ListSysMessage(ctx context.Context, req *pb.ListSysMessageReq) (*pb.ListSysMessageReply, error)
func (*SystemnotifyMessageService) UpdateSysMessages ¶ added in v1.0.1
func (s *SystemnotifyMessageService) UpdateSysMessages(ctx context.Context, req *pb.UpdateSysMessageReq) (*pb.UpdateSysMessageReply, error)
Click to show internal directories.
Click to hide internal directories.