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: 9 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewKafkaProducer

func NewKafkaProducer(conf *conf.Data) sarama.AsyncProducer

func NewShippingRepo

func NewShippingRepo(data *Data, logger log.Logger) biz.ShippingRepo

Types

type Data

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

Data .

func NewData

func NewData(producer sarama.AsyncProducer, conf *conf.Data, logger log.Logger) (*Data, func(), error)

NewData .

type ShippingEntry

type ShippingEntry struct {
	OrderId string `json:"order_id"`
}

Jump to

Keyboard shortcuts

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