Documentation ¶
Overview ¶
Package service implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultGRPC ¶ added in v0.0.4
func DefaultGRPC(cfg *configv1.Service_Selector) (transgrpc.ClientOption, error)
DefaultGRPC returns a default gRPC client option based on the provided service selector configuration.
If the version is specified in the configuration, it sets a node filter with the version.
func DefaultHTTP ¶ added in v0.0.4
func DefaultHTTP(cfg *configv1.Service_Selector) (transhttp.ClientOption, error)
DefaultHTTP returns a default HTTP client option based on the provided service selector configuration.
If the version is specified in the configuration, it sets a node filter with the version.
func SetGlobalSelector ¶
func SetGlobalSelector(selectorType string)
SetGlobalSelector sets the global selector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.