Documentation ¶
Index ¶
- type Client
- func (c *Client) AddTag(ctx context.Context, fileId string, tag string) error
- func (c *Client) CreateAccessKey(key *data.Access) error
- func (c *Client) CreateFile(ctx context.Context, id string, path string, tags data.TagSet) error
- func (c *Client) DestroyCursor(key CursorKey)
- func (c *Client) GetAccessKeys(ctx context.Context, file *data.File) ([]*data.Access, error)
- func (c *Client) GetFiles(ctx context.Context, cursor CursorKey) ([]*data.File, error)
- func (c *Client) GetTags(ctx context.Context, fileId string) (data.TagSet, error)
- func (c Client) Migrate() error
- func (c *Client) NewCursor(pageSize int, orderBy string, order Order, fn CursorFunc) CursorKey
- type Cursor
- type CursorFunc
- type CursorKey
- type Order
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) CreateFile ¶
func (*Client) DestroyCursor ¶
func (*Client) GetAccessKeys ¶
type CursorFunc ¶
func AllFiles ¶
func AllFiles() CursorFunc
func FileNameSearch ¶
func FileNameSearch(name string) CursorFunc
func FileTagSearch ¶
func FileTagSearch(tag string) CursorFunc
Click to show internal directories.
Click to hide internal directories.