Documentation ¶
Index ¶
- func Endpoints() pb.Endpoints
- func GRPCServerOptions() []grpctransport.ServerOption
- func HTTPServerOptions() []httptransport.ServerOption
- func Interrupt(errc chan<- error)
- func NATSSubscriberOptions() []natstransport.SubscriberOption
- func NewEndpoints(svc pb.EchoServer) pb.Endpoints
- func Run(cfg Config)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GRPCServerOptions ¶
func GRPCServerOptions() []grpctransport.ServerOption
GRPCServerOptions GRPC 服务传输选项
func HTTPServerOptions ¶
func HTTPServerOptions() []httptransport.ServerOption
HTTPServerOptions GRPC 服务传输选项
func NATSSubscriberOptions ¶
func NATSSubscriberOptions() []natstransport.SubscriberOption
NATSSubscriberOptions NATS 订阅器选项
func NewEndpoints ¶
func NewEndpoints(svc pb.EchoServer) pb.Endpoints
Types ¶
Click to show internal directories.
Click to hide internal directories.