package firestore
import "github.com/sagikazarmark/crypt/backend/firestore"
Index ¶
- type Client
- func New(machines []string) (*Client, error)
- func (c *Client) Get(path string) ([]byte, error)
- func (c *Client) GetWithContext(ctx context.Context, path string) ([]byte, error)
- func (c *Client) List(collection string) (backend.KVPairs, error)
- func (c *Client) ListWithContext(ctx context.Context, collection string) (backend.KVPairs, error)
- func (c *Client) Set(path string, value []byte) error
- func (c *Client) SetWithContext(ctx context.Context, path string, value []byte) error
- func (c *Client) Watch(path string, stop chan bool) <-chan *backend.Response
- func (c *Client) WatchWithContext(ctx context.Context, path string, stop chan bool) <-chan *backend.Response
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func New ¶
func (*Client) Get ¶
func (*Client) GetWithContext ¶
func (*Client) List ¶
func (*Client) ListWithContext ¶
func (*Client) Set ¶
func (*Client) SetWithContext ¶
func (*Client) Watch ¶
func (*Client) WatchWithContext ¶
func (c *Client) WatchWithContext(ctx context.Context, path string, stop chan bool) <-chan *backend.Response
Source Files ¶
- Version
- v0.13.0
- Published
- Jul 21, 2023
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 hour ago –
Tools for package owners.