Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, userID string, create *dataSource.Create) (*dataSource.Source, error)
- func (c *Client) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (c *Client) Get(ctx context.Context, id string) (*dataSource.Source, error)
- func (c *Client) List(ctx context.Context, userID string, filter *dataSource.Filter, ...) (dataSource.Sources, error)
- func (c *Client) Update(ctx context.Context, id string, condition *request.Condition, ...) (*dataSource.Source, 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 (*Client) Create ¶
func (c *Client) Create(ctx context.Context, userID string, create *dataSource.Create) (*dataSource.Source, error)
func (*Client) List ¶
func (c *Client) List(ctx context.Context, userID string, filter *dataSource.Filter, pagination *page.Pagination) (dataSource.Sources, error)
Click to show internal directories.
Click to hide internal directories.