Documentation
¶
Index ¶
- type LogicServer
- func (s *LogicServer) Connect(ctx context.Context, in *xlogic.ConnectReq) (*xlogic.ConnectReply, error)
- func (s *LogicServer) DelGroups(ctx context.Context, in *xlogic.DelGroupsReq) (*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) JoinGroupsByKeys(ctx context.Context, in *xlogic.GroupsKey) (*xlogic.Reply, error)
- func (s *LogicServer) JoinGroupsByMids(ctx context.Context, in *xlogic.GroupsMid) (*xlogic.Reply, error)
- func (s *LogicServer) LeaveGroupsByKeys(ctx context.Context, in *xlogic.GroupsKey) (*xlogic.Reply, error)
- func (s *LogicServer) LeaveGroupsByMids(ctx context.Context, in *xlogic.GroupsMid) (*xlogic.Reply, error)
- func (s *LogicServer) PushByKeys(ctx context.Context, in *xlogic.KeysMsg) (*xlogic.Reply, error)
- func (s *LogicServer) PushByMids(ctx context.Context, in *xlogic.MidsMsg) (*xlogic.Reply, error)
- func (s *LogicServer) PushGroup(ctx context.Context, in *xlogic.GroupMsg) (*xlogic.Reply, error)
- func (s *LogicServer) Receive(ctx context.Context, in *xlogic.ReceiveReq) (*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) DelGroups ¶
func (s *LogicServer) DelGroups(ctx context.Context, in *xlogic.DelGroupsReq) (*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) JoinGroupsByKeys ¶
func (*LogicServer) JoinGroupsByMids ¶
func (*LogicServer) LeaveGroupsByKeys ¶
func (*LogicServer) LeaveGroupsByMids ¶
func (*LogicServer) PushByKeys ¶
func (*LogicServer) PushByMids ¶
func (*LogicServer) Receive ¶
func (s *LogicServer) Receive(ctx context.Context, in *xlogic.ReceiveReq) (*xlogic.Reply, error)
Click to show internal directories.
Click to hide internal directories.