package
0.0.0-20241209060253-74832168667a
Repository: https://github.com/joyparty/nodehub.git
Documentation: pkg.go.dev
# Functions
GetReplyType 根据编码获取对应的响应数据类型.
No description provided by the author
NewMulticast 创建push消息.
No description provided by the author
NewReply 把proto message打包Reply.
No description provided by the author
No description provided by the author
RegisterReplyType 注册响应数据编码及类型.
ResetReply 重置响应对象.
ResetRequest 重置请求对象.
UnpackReply 解包Reply.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GatewayServiceCode 网关服务代码,每个网关节点都会内置这个grpc服务.
No description provided by the author
No description provided by the author
NodeServiceCode 节点管理服务,每个内部节点都会内置这个grpc服务.
No description provided by the author
No description provided by the author
# Variables
EmptyReply 空响应.
No description provided by the author
No description provided by the author
No description provided by the author
Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service.
Node_ServiceDesc is the grpc.ServiceDesc for Node service.
Enum value maps for ReplyCode.
Enum value maps for ReplyCode.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
用于内部节点主动向客户端发送消息 内部节点把消息打包为Multicast,然后push到消息队列 网关节点从消息队列中获取Multicast,然后push到客户端.
No description provided by the author
No description provided by the author
来自服务器端下行的消息.
客户端上行消息 请求会被网关转换为grpc请求转发到内部服务.
网关透传grpc请求后,返回的grpc错误.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedGatewayServer must be embedded to have forward compatible implementations.
UnimplementedNodeServer must be embedded to have forward compatible implementations.
# Interfaces
GatewayClient is the client API for Gateway service.
GatewayServer is the server API for Gateway service.
NodeClient is the client API for Node service.
NodeServer is the server API for Node service.
UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service.
UnsafeNodeServer may be embedded to opt out of forward compatibility for this service.
# Type aliases
No description provided by the author