Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDiscountServiceHandler ¶
func RegisterDiscountServiceHandler(s server.Server, hdlr DiscountServiceHandler, opts ...server.HandlerOption) error
Types ¶
type DiscountService ¶
type DiscountService interface { Sync(ctx context.Context, in *shared.SyncRequest, opts ...client.CallOption) (*shared.SyncResponse, error) SyncPrices(ctx context.Context, in *shared.SyncRequest, opts ...client.CallOption) (*shared.SyncResponse, error) }
func NewDiscountService ¶
func NewDiscountService(name string, c client.Client) DiscountService
type DiscountServiceHandler ¶
type DiscountServiceHandler interface { Sync(context.Context, *shared.SyncRequest, *shared.SyncResponse) error SyncPrices(context.Context, *shared.SyncRequest, *shared.SyncResponse) error }
Click to show internal directories.
Click to hide internal directories.