package
0.1.5
Repository: https://github.com/zhangyuancloud/common.git
Documentation: pkg.go.dev

# Functions

NewGRPCClient returns a GRPC Client.
No description provided by the author
NewService returns a Service.
WithDirectAddresses returns a direct addresses option.
No description provided by the author
No description provided by the author
No description provided by the author
WithTimeout returns a timeout option.

# Structs

GRPCClient is a grpc client.
GRPCServer is a grpc server.
No description provided by the author
Service is a service define.

# Interfaces

No description provided by the author
ShutdownHook /关闭钩子.

# Type aliases

ClientCreator create a grpc client.
ClientOption is client create option.
ServerOption service side option.
ServiceOption service options.
ServiceRegister registry grpc services.