Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateTarget(ctx context.Context, param web.TargetCreateParam) (*web.UserTarget, error)
- func (c *Client) DeleteTarget(ctx context.Context, targetID string) error
- func (c *Client) GetTarget(ctx context.Context, targetID string) (*web.UserTarget, error)
- func (c *Client) ListTarget(ctx context.Context) ([]web.UserTarget, error)
- func (c *Client) UpdateTarget(ctx context.Context, targetID string, param web.TargetCreateParam) (*web.UserTarget, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is a client for myshoes
func (*Client) CreateTarget ¶
func (c *Client) CreateTarget(ctx context.Context, param web.TargetCreateParam) (*web.UserTarget, error)
CreateTarget create a target
func (*Client) DeleteTarget ¶
DeleteTarget delete a target
func (*Client) ListTarget ¶
ListTarget get a list of target
func (*Client) UpdateTarget ¶
func (c *Client) UpdateTarget(ctx context.Context, targetID string, param web.TargetCreateParam) (*web.UserTarget, error)
UpdateTarget update a target
Click to show internal directories.
Click to hide internal directories.