data

package
v0.0.0-...-b12402e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: MIT, MIT Imports: 21 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewBeerRepo

func NewBeerRepo(data *Data, logger log.Logger) biz.CatalogRepo

func NewDiscovery

func NewDiscovery(conf *conf.Registry) registry.Discovery

func NewRegistrar

func NewRegistrar(conf *conf.Registry) registry.Registrar

func NewUserRepo

func NewUserRepo(data *Data, logger log.Logger) biz.UserRepo

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data .

func NewData

func NewData(
	conf *conf.Data,
	logger log.Logger,
	uc userv1.UserClient,
	cc cartv1.CartClient,
	bc catalogv1.CatalogClient,
) (*Data, error)

NewData .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL