server

package
v0.2.0-alpha.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL