Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientProviderSet = wire.NewSet( ProvideTracerProvider, ProvideClientHealthCheck, ProvideClient, wire.Bind( new(Client), new(*client), ), ) )
Functions ¶
func ProvideClient ¶
func ProvideClient( rawURL ClientURL, logger *zap.SugaredLogger, tracerProvider *tracerProvider, plugins ...httpds.Plugin, ) *client
func ProvideTracerProvider ¶
func ProvideTracerProvider(appEnvironment config.AppEnvironment) *tracerProvider
Types ¶
type GetQuoteResponse ¶
type GetQuoteResponse struct {
Quote string `json:"quote"`
}
type HealthCheck ¶
func ProvideClientHealthCheck ¶
func ProvideClientHealthCheck(url ClientURL) HealthCheck
Click to show internal directories.
Click to hide internal directories.