server

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 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) 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 (s *LogicServer) JoinGroupsByKeys(ctx context.Context, in *xlogic.GroupsKey) (*xlogic.Reply, error)

func (*LogicServer) JoinGroupsByMids

func (s *LogicServer) JoinGroupsByMids(ctx context.Context, in *xlogic.GroupsMid) (*xlogic.Reply, error)

func (*LogicServer) LeaveGroupsByKeys

func (s *LogicServer) LeaveGroupsByKeys(ctx context.Context, in *xlogic.GroupsKey) (*xlogic.Reply, error)

func (*LogicServer) LeaveGroupsByMids

func (s *LogicServer) LeaveGroupsByMids(ctx context.Context, in *xlogic.GroupsMid) (*xlogic.Reply, error)

func (*LogicServer) PushByKeys

func (s *LogicServer) PushByKeys(ctx context.Context, in *xlogic.KeysMsg) (*xlogic.Reply, error)

func (*LogicServer) PushByMids

func (s *LogicServer) PushByMids(ctx context.Context, in *xlogic.MidsMsg) (*xlogic.Reply, error)

func (*LogicServer) PushGroup

func (s *LogicServer) PushGroup(ctx context.Context, in *xlogic.GroupMsg) (*xlogic.Reply, error)

func (*LogicServer) Receive

func (s *LogicServer) Receive(ctx context.Context, in *xlogic.ReceiveReq) (*xlogic.Reply, error)

Jump to

Keyboard shortcuts

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