Documentation
¶
Overview ¶
Package grpc implements the functions, types, and interfaces for the module.
Package grpc implements the functions, types, and interfaces for the module.
Index ¶
- func CreateSelectorOption(options []transgrpc.ClientOption, cfg *configv1.Service_Selector) []transgrpc.ClientOption
- func NewClient(ctx context.Context, r registry.Discovery, service *configv1.Service, ...) (*grpc.ClientConn, error)
- func NewServer(cfg *configv1.Service, m ...middleware.Middleware) *transgrpc.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSelectorOption ¶
func CreateSelectorOption(options []transgrpc.ClientOption, cfg *configv1.Service_Selector) []transgrpc.ClientOption
func NewClient ¶
func NewClient(ctx context.Context, r registry.Discovery, service *configv1.Service, m ...middleware.Middleware) (*grpc.ClientConn, error)
NewClient Creating a GRPC client
func NewServer ¶
func NewServer(cfg *configv1.Service, m ...middleware.Middleware) *transgrpc.Server
NewServer Create a GRPC server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.