Documentation ¶
Index ¶
- func ProvideDetailsClient(opts *DetailsClientOptions) (detailsservice.Client, error)
- func ProvideRatingsClient(opts *RatingsClientOptions) (ratingservice.Client, error)
- func ProvideReviewClient(opts *ReviewClientOptions) (reviewsservice.Client, error)
- type DetailsClientOptions
- type RatingsClientOptions
- type ReviewClientOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideDetailsClient ¶
func ProvideDetailsClient(opts *DetailsClientOptions) (detailsservice.Client, error)
ProvideDetailsClient provide details client 1、init xds manager: only init once 2、enable xds 3、enable opentelemetry
func ProvideRatingsClient ¶
func ProvideRatingsClient(opts *RatingsClientOptions) (ratingservice.Client, error)
ProvideRatingsClient provide ratings client 1、init xds manager: only init once 2、enable xds 3、enable opentelemetry
func ProvideReviewClient ¶
func ProvideReviewClient(opts *ReviewClientOptions) (reviewsservice.Client, error)
ProvideReviewClient Provide review client 1、init xds manager: only init once 2、enable xds 3、enable opentelemetry
Types ¶
type DetailsClientOptions ¶
type DetailsClientOptions struct { Endpoint string `mapstructure:"endpoint"` EnableXDS bool `mapstructure:"enableXDS"` XDSAddr string `mapstructure:"xdsAddr"` XDSAuth bool `mapstructure:"xdsAuth"` }
DetailsClientOptions detail client options
func DefaultDetailsClientOptions ¶
func DefaultDetailsClientOptions() *DetailsClientOptions
DefaultDetailsClientOptions default options
type RatingsClientOptions ¶
type RatingsClientOptions struct { Endpoint string `mapstructure:"endpoint"` EnableXDS bool `mapstructure:"enableXDS"` XDSAddr string `mapstructure:"xdsAddr"` XDSAuth bool `mapstructure:"xdsAuth"` }
RatingsClientOptions client options
func DefaultRatingsClientOptions ¶
func DefaultRatingsClientOptions() *RatingsClientOptions
type ReviewClientOptions ¶
type ReviewClientOptions struct { Endpoint string `mapstructure:"endpoint"` EnableXDS bool `mapstructure:"enableXDS"` XDSAddr string `mapstructure:"xdsAddr"` XDSAuth bool `mapstructure:"xdsAuth"` }
ReviewClientOptions client options
func DefaultReviewClientOptions ¶
func DefaultReviewClientOptions() *ReviewClientOptions
DefaultReviewClientOptions default options
Click to show internal directories.
Click to hide internal directories.