Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadMethods ¶
ReadMethods returns regexp slice of readable methods, mostly used by the acl
func RegisterService ¶
func RegisterService(p Interface)
RegisterService register service as the service provider
func RegisterSkuServer ¶
RegisterSkuServer register service to the grpc server
func WriteMethods ¶
WriteMethods returns regexp slice of writable methods, mostly used by the acl
Types ¶
type GetWithInventoryLockRequest ¶
GetWithInventoryLockRequest request for getting inventory lock
type Interface ¶
type Interface interface { skupb.SkuServiceServer GetWithInventoryLock(ctx context.Context, req *GetWithInventoryLockRequest) (*skupb.Sku, func() error, util.Fn, error) ProductData(ctx context.Context, req *ProductDataReq) ([]*skupb.Sku, error) }
Interface defines the functionality of the sku service
type ProductDataReq ¶
type ProductDataReq struct {
Id string `validate:"uuid4"`
}
ProductDataReq get product data req
Click to show internal directories.
Click to hide internal directories.