Documentation ¶
Index ¶
- Variables
- func NewBeerRepo(data *Data, logger log.Logger) biz.CatalogRepo
- func NewCartServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) cartv1.CartClient
- func NewCatalogServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) catalogv1.CatalogClient
- func NewDiscovery(conf *conf.Registry) registry.Discovery
- func NewOrderServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) orderv1.OrderClient
- func NewPaymentServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) paymentv1.PaymentClient
- func NewRegistrar(conf *conf.Registry) registry.Registrar
- func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo
- func NewUserServiceClient(ac *conf.Auth, r registry.Discovery, tp *tracesdk.TracerProvider) userv1.UserClient
- type Data
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewDiscovery, NewRegistrar, NewUserServiceClient, NewCartServiceClient, NewCatalogServiceClient, NewOrderServiceClient, NewPaymentServiceClient, NewUserRepo, NewBeerRepo, )
ProviderSet is data providers.
Functions ¶
func NewBeerRepo ¶
func NewBeerRepo(data *Data, logger log.Logger) biz.CatalogRepo
func NewCartServiceClient ¶
func NewCartServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) cartv1.CartClient
func NewCatalogServiceClient ¶
func NewCatalogServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) catalogv1.CatalogClient
func NewOrderServiceClient ¶
func NewOrderServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) orderv1.OrderClient
func NewPaymentServiceClient ¶
func NewPaymentServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) paymentv1.PaymentClient
func NewUserServiceClient ¶
func NewUserServiceClient(ac *conf.Auth, r registry.Discovery, tp *tracesdk.TracerProvider) userv1.UserClient
Types ¶
Click to show internal directories.
Click to hide internal directories.