Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, userID string, create *blob.Create) (*blob.Blob, error)
- func (c *Client) Delete(ctx context.Context, id string, condition *request.Condition) (bool, error)
- func (c *Client) Get(ctx context.Context, id string) (*blob.Blob, error)
- func (c *Client) GetContent(ctx context.Context, id string) (*blob.Content, error)
- func (c *Client) List(ctx context.Context, userID string, filter *blob.Filter, ...) (blob.Blobs, error)
- type Provider
- type SizeWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Provider
}
func (*Client) GetContent ¶
type Provider ¶
type Provider interface { AuthClient() auth.Client BlobStructuredStore() blobStoreStructured.Store BlobUnstructuredStore() blobStoreUnstructured.Store }
type SizeWriter ¶
type SizeWriter struct {
Size int
}
func NewSizeWriter ¶
func NewSizeWriter() *SizeWriter
Click to show internal directories.
Click to hide internal directories.