Documentation ¶
Index ¶
- type Client
- func (c *Client) DeleteDepAdvertisement(ctx context.Context, dID, ref string) error
- func (c *Client) DeleteDepAdvertisements(ctx context.Context, dID string) error
- func (c *Client) GetDepAdvertisement(ctx context.Context, dID, ref string) (model.DepAdvertisement, error)
- func (c *Client) GetDepAdvertisements(ctx context.Context, dID string) (map[string]model.DepAdvertisement, error)
- func (c *Client) PutDepAdvertisement(ctx context.Context, dID string, adv model.DepAdvertisementBase) error
- func (c *Client) PutDepAdvertisements(ctx context.Context, dID string, ads map[string]model.DepAdvertisementBase) error
- func (c *Client) QueryDepAdvertisements(ctx context.Context, filter model.DepAdvFilter) ([]model.DepAdvertisement, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func New(httpClient base_client.HTTPClient, baseUrl string) *Client
func (*Client) DeleteDepAdvertisement ¶
func (*Client) DeleteDepAdvertisements ¶
func (*Client) GetDepAdvertisement ¶
func (*Client) GetDepAdvertisements ¶
func (*Client) PutDepAdvertisement ¶
func (*Client) PutDepAdvertisements ¶
func (*Client) QueryDepAdvertisements ¶
func (c *Client) QueryDepAdvertisements(ctx context.Context, filter model.DepAdvFilter) ([]model.DepAdvertisement, error)
Click to show internal directories.
Click to hide internal directories.