external

package
v0.0.0-...-a470c86 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// Get sku stock
	GetSkuStock(ctx context.Context, skuID string) (stock int, err error)

	// Get sku property
	GetSkuProperties(ctx context.Context, skuIDs []string) (properties []entity.SkuProperty, err error)
}

func NewClient

func NewClient(endpoint string, tracingProvider tracing.Provider, log logger.Provider) (Client, error)

Jump to

Keyboard shortcuts

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