Categorygithub.com/dnsabre/message
modulepackage
0.0.10
Repository: https://github.com/dnsabre/message.git
Documentation: pkg.go.dev

# README

协议

用户服务协议,包括

  • 协议
  • gRPC

协议,可以参考定义

# Functions

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
RegisterCacheHandler registers the http handlers for service Cache to "mux".
RegisterCacheHandlerClient registers the http handlers for service Cache to "mux".
RegisterCacheHandlerFromEndpoint is same as RegisterCacheHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterCacheHandlerServer registers the http handlers for service Cache to "mux".
No description provided by the author
RegisterDomainHandler registers the http handlers for service Domain to "mux".
RegisterDomainHandlerClient registers the http handlers for service Domain to "mux".
RegisterDomainHandlerFromEndpoint is same as RegisterDomainHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterDomainHandlerServer registers the http handlers for service Domain to "mux".
No description provided by the author
RegisterResolveHandler registers the http handlers for service Resolve to "mux".
RegisterResolveHandlerClient registers the http handlers for service Resolve to "mux".
RegisterResolveHandlerFromEndpoint is same as RegisterResolveHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterResolveHandlerServer registers the http handlers for service Resolve to "mux".
No description provided by the author
RegisterRuleHandler registers the http handlers for service Rule to "mux".
RegisterRuleHandlerClient registers the http handlers for service Rule to "mux".
RegisterRuleHandlerFromEndpoint is same as RegisterRuleHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterRuleHandlerServer registers the http handlers for service Rule to "mux".
No description provided by the author
RegisterUpstreamHandler registers the http handlers for service Upstream to "mux".
RegisterUpstreamHandlerClient registers the http handlers for service Upstream to "mux".
RegisterUpstreamHandlerFromEndpoint is same as RegisterUpstreamHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterUpstreamHandlerServer registers the http handlers for service Upstream to "mux".
No description provided by the author

# 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
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
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
No description provided by the author
No description provided by the author

# Variables

Cache_ServiceDesc is the grpc.ServiceDesc for Cache service.
Domain_ServiceDesc is the grpc.ServiceDesc for Domain service.
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
Resolve_ServiceDesc is the grpc.ServiceDesc for Resolve service.
Rule_ServiceDesc is the grpc.ServiceDesc for Rule service.
Upstream_ServiceDesc is the grpc.ServiceDesc for Upstream service.

# Structs

UnimplementedCacheServer must be embedded to have forward compatible implementations.
UnimplementedDomainServer must be embedded to have forward compatible implementations.
UnimplementedResolveServer must be embedded to have forward compatible implementations.
UnimplementedRuleServer must be embedded to have forward compatible implementations.
UnimplementedUpstreamServer must be embedded to have forward compatible implementations.

# Interfaces

CacheClient is the client API for Cache service.
CacheServer is the server API for Cache service.
DomainClient is the client API for Domain service.
DomainServer is the server API for Domain service.
ResolveClient is the client API for Resolve service.
ResolveServer is the server API for Resolve service.
RuleClient is the client API for Rule service.
RuleServer is the server API for Rule service.
UnsafeCacheServer may be embedded to opt out of forward compatibility for this service.
UnsafeDomainServer may be embedded to opt out of forward compatibility for this service.
UnsafeResolveServer may be embedded to opt out of forward compatibility for this service.
UnsafeRuleServer may be embedded to opt out of forward compatibility for this service.
UnsafeUpstreamServer may be embedded to opt out of forward compatibility for this service.
UpstreamClient is the client API for Upstream service.
UpstreamServer is the server API for Upstream service.