data

package
v0.0.0-...-4241208 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT, MIT Imports: 21 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewBookRepo

func NewBookRepo(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 bookv1.BookClient,
) (*Data, error)

NewData .

Jump to

Keyboard shortcuts

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