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 []transhttp.ClientOption, cfg *configv1.Service_Selector) []transhttp.ClientOption
- func NewClient(ctx context.Context, r registry.Discovery, service *configv1.Service, ...) (*transhttp.Client, error)
- func NewServer(cfg *configv1.Service, m ...middleware.Middleware) *transhttp.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSelectorOption ¶
func CreateSelectorOption(options []transhttp.ClientOption, cfg *configv1.Service_Selector) []transhttp.ClientOption
func NewClient ¶
func NewClient(ctx context.Context, r registry.Discovery, service *configv1.Service, m ...middleware.Middleware) (*transhttp.Client, error)
NewClient Creating a GRPC client
func NewServer ¶
func NewServer(cfg *configv1.Service, m ...middleware.Middleware) *transhttp.Server
NewServer Create a HTTP server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.