Documentation ¶
Index ¶
- Variables
- func NewCourierRepo(data *Data, logger log.Logger) biz.CourierRepo
- func NewDiscovery(conf *conf.Registry) registry.Discovery
- func NewKafkaConsumer(conf *conf.Data) sarama.Consumer
- func NewOrderServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) orderv1.OrderClient
- type Data
- type ShippingEntry
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( NewData, NewKafkaConsumer, NewCourierRepo, NewDiscovery, NewOrderServiceClient, )
ProviderSet is data providers.
Functions ¶
func NewCourierRepo ¶
func NewCourierRepo(data *Data, logger log.Logger) biz.CourierRepo
func NewOrderServiceClient ¶
func NewOrderServiceClient(r registry.Discovery, tp *tracesdk.TracerProvider) orderv1.OrderClient
Types ¶
type ShippingEntry ¶
type ShippingEntry struct {
OrderId string `json:"order_id"`
}
Click to show internal directories.
Click to hide internal directories.