Documentation ¶
Index ¶
- type Client
- func (comp *Client) Add(ctx context.Context, data *request.RequestProduct) (*response.ResponseProductAdd, error)
- func (comp *Client) Get(ctx context.Context, data *request.RequestProductGet) (*response.ResponseProductGet, error)
- func (comp *Client) List(ctx context.Context, context string, page int, size int) (*response.ResponseProductGet, error)
- func (comp *Client) Status(ctx context.Context, ticket string) (*response.ResponseProductStatus, error)
- func (comp *Client) Update(ctx context.Context, data *request.RequestProduct) (*response.ResponseProductAdd, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) Add ¶
func (comp *Client) Add(ctx context.Context, data *request.RequestProduct) (*response.ResponseProductAdd, error)
func (*Client) Get ¶
func (comp *Client) Get(ctx context.Context, data *request.RequestProductGet) (*response.ResponseProductGet, error)
func (*Client) List ¶
func (*Client) Status ¶
func (*Client) Update ¶
func (comp *Client) Update(ctx context.Context, data *request.RequestProduct) (*response.ResponseProductAdd, error)
Click to show internal directories.
Click to hide internal directories.