Documentation
¶
Index ¶
- type LogicServer
- func (s *LogicServer) Connect(ctx context.Context, in *xlogic.ConnectReq) (*xlogic.ConnectReply, error)
- func (s *LogicServer) DelGroup(ctx context.Context, in *xlogic.DelGroupReq) (*xlogic.Reply, error)
- func (s *LogicServer) Disconnect(ctx context.Context, in *xlogic.DisconnectReq) (*xlogic.Reply, error)
- func (s *LogicServer) Heartbeat(ctx context.Context, in *xlogic.HeartbeatReq) (*xlogic.Reply, error)
- func (s *LogicServer) JoinGroupByKey(ctx context.Context, in *xlogic.JoinGroupByKeyReq) (*xlogic.Reply, error)
- func (s *LogicServer) JoinGroupByUID(ctx context.Context, in *xlogic.JoinGroupByUIDReq) (*xlogic.Reply, error)
- func (s *LogicServer) LeaveGroupByKey(ctx context.Context, in *xlogic.LeaveGroupByKeyReq) (*xlogic.Reply, error)
- func (s *LogicServer) LeaveGroupByUID(ctx context.Context, in *xlogic.LeaveGroupByUIDReq) (*xlogic.Reply, error)
- func (s *LogicServer) PushByKey(ctx context.Context, in *xlogic.PushByKeyReq) (*xlogic.Reply, error)
- func (s *LogicServer) PushByUID(ctx context.Context, in *xlogic.PushByUIDReq) (*xlogic.Reply, error)
- func (s *LogicServer) PushGroup(ctx context.Context, in *xlogic.PushGroupReq) (*xlogic.Reply, error)
- func (s *LogicServer) Receive(ctx context.Context, in *xlogic.ReceiveReq) (*xlogic.Reply, error)
- func (s *LogicServer) SendByUID(ctx context.Context, in *xlogic.SendByUIDReq) (*xlogic.Reply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicServer ¶
type LogicServer struct {
xlogic.UnimplementedLogicServer
// contains filtered or unexported fields
}
func NewLogicServer ¶
func NewLogicServer(svcCtx *svc.ServiceContext) *LogicServer
func (*LogicServer) Connect ¶
func (s *LogicServer) Connect(ctx context.Context, in *xlogic.ConnectReq) (*xlogic.ConnectReply, error)
func (*LogicServer) DelGroup ¶
func (s *LogicServer) DelGroup(ctx context.Context, in *xlogic.DelGroupReq) (*xlogic.Reply, error)
func (*LogicServer) Disconnect ¶
func (s *LogicServer) Disconnect(ctx context.Context, in *xlogic.DisconnectReq) (*xlogic.Reply, error)
func (*LogicServer) Heartbeat ¶
func (s *LogicServer) Heartbeat(ctx context.Context, in *xlogic.HeartbeatReq) (*xlogic.Reply, error)
func (*LogicServer) JoinGroupByKey ¶
func (s *LogicServer) JoinGroupByKey(ctx context.Context, in *xlogic.JoinGroupByKeyReq) (*xlogic.Reply, error)
func (*LogicServer) JoinGroupByUID ¶
func (s *LogicServer) JoinGroupByUID(ctx context.Context, in *xlogic.JoinGroupByUIDReq) (*xlogic.Reply, error)
func (*LogicServer) LeaveGroupByKey ¶
func (s *LogicServer) LeaveGroupByKey(ctx context.Context, in *xlogic.LeaveGroupByKeyReq) (*xlogic.Reply, error)
func (*LogicServer) LeaveGroupByUID ¶
func (s *LogicServer) LeaveGroupByUID(ctx context.Context, in *xlogic.LeaveGroupByUIDReq) (*xlogic.Reply, error)
func (*LogicServer) PushByKey ¶
func (s *LogicServer) PushByKey(ctx context.Context, in *xlogic.PushByKeyReq) (*xlogic.Reply, error)
func (*LogicServer) PushByUID ¶
func (s *LogicServer) PushByUID(ctx context.Context, in *xlogic.PushByUIDReq) (*xlogic.Reply, error)
func (*LogicServer) PushGroup ¶
func (s *LogicServer) PushGroup(ctx context.Context, in *xlogic.PushGroupReq) (*xlogic.Reply, error)
func (*LogicServer) Receive ¶
func (s *LogicServer) Receive(ctx context.Context, in *xlogic.ReceiveReq) (*xlogic.Reply, error)
func (*LogicServer) SendByUID ¶
func (s *LogicServer) SendByUID(ctx context.Context, in *xlogic.SendByUIDReq) (*xlogic.Reply, error)
Click to show internal directories.
Click to hide internal directories.