services

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcService

type RpcService struct{}

func NewService

func NewService() *RpcService

func (*RpcService) RPCBroadcastRequest

func (*RpcService) RPCBroadcastRequest(request service.IServiceRequest, msg *rpc.RPCBroadcastRequest) error

func (*RpcService) RPCCallRequest

func (*RpcService) RPCCallRequest(request service.IServiceRequest, msg *rpc.RPCCallRequest) error

func (*RpcService) RPCHeartbeatRequest

func (*RpcService) RPCHeartbeatRequest(request service.IServiceRequest, msg *rpc.HeartbeatRequest) error

func (*RpcService) RPCLoginRequest

func (*RpcService) RPCLoginRequest(request service.IServiceRequest, msg *rpc.LoginRequest) error

func (*RpcService) RPCLogoutRequest

func (*RpcService) RPCLogoutRequest(request service.IServiceRequest, msg *rpc.LogoutRequest) error

func (*RpcService) RouteForRPCBroadcastRequest

func (*RpcService) RouteForRPCBroadcastRequest() (string, uint32, uint32)

RouteForRPCBroadcastRequest RPC广播

func (*RpcService) RouteForRPCCallRequest

func (*RpcService) RouteForRPCCallRequest() (string, uint32, uint32)

RouteForRPCCallRequest RPC调用

func (*RpcService) RouteForRPCHeartbeatRequest

func (*RpcService) RouteForRPCHeartbeatRequest() (string, uint32, uint32)

RouteForRPCHeartbeatRequest 心跳

func (*RpcService) RouteForRPCLoginRequest

func (*RpcService) RouteForRPCLoginRequest() (string, uint32, uint32)

RouteForRPCLoginRequest 登录

func (*RpcService) RouteForRPCLogoutRequest

func (*RpcService) RouteForRPCLogoutRequest() (string, uint32, uint32)

RouteForRPCLogoutRequest 登出

Jump to

Keyboard shortcuts

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