Documentation ¶
Index ¶
- type Client
- func (comp *Client) Add(data *request.RequestProduct) (*response.ResponseProductAdd, error)
- func (comp *Client) Get(data *request.RequestProductGet) (*response.ResponseProductGet, error)
- func (comp *Client) List(context string, page int, size int) (*response.ResponseProductGet, error)
- func (comp *Client) Status(ticket string) (*response.ResponseProductStatus, error)
- func (comp *Client) Update(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 {
*kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) Add ¶
func (comp *Client) Add(data *request.RequestProduct) (*response.ResponseProductAdd, error)
func (*Client) Get ¶
func (comp *Client) Get(data *request.RequestProductGet) (*response.ResponseProductGet, error)
func (*Client) Status ¶
func (comp *Client) Status(ticket string) (*response.ResponseProductStatus, error)
func (*Client) Update ¶
func (comp *Client) Update(data *request.RequestProduct) (*response.ResponseProductAdd, error)
Click to show internal directories.
Click to hide internal directories.