Documentation
¶
Index ¶
- Variables
- type APIClient
- func (c *APIClient) Get(ctx context.Context, path string, v any) error
- func (c *APIClient) HealthCheck(ctx context.Context) error
- func (c *APIClient) Post(ctx context.Context, path string, request, response any) error
- func (c *APIClient) PostFile(ctx context.Context, path, fieldName, filePath string) error
- func (c *APIClient) Stream(ctx context.Context, path string, handler func(data string) bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("resource not found")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.