Documentation
¶
Index ¶
- Variables
- func NewClient(cfg *commoncfg.GRPCClient, dialOptions ...grpc.DialOption) (*grpc.ClientConn, error)
- func NewPooledClient(client PooledClient, cfg *commoncfg.GRPCClient, dialOptions ...grpc.DialOption) error
- func NewServer(ctx context.Context, cfg *commoncfg.GRPCServer, ...) *grpc.Server
- type PooledClient
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyAddress = errors.New("grpc address is empty")
)
Functions ¶
func NewClient ¶
func NewClient(cfg *commoncfg.GRPCClient, dialOptions ...grpc.DialOption) (*grpc.ClientConn, error)
func NewPooledClient ¶
func NewPooledClient(client PooledClient, cfg *commoncfg.GRPCClient, dialOptions ...grpc.DialOption) error
func NewServer ¶
func NewServer(ctx context.Context, cfg *commoncfg.GRPCServer, serverOptions ...grpc.ServerOption) *grpc.Server
NewServer create the grpc server
Types ¶
type PooledClient ¶
Click to show internal directories.
Click to hide internal directories.