Versions in this module Expand all Collapse all v4 v4.6.2 Oct 14, 2021 Changes in this version + func RedirectIntegrated() + type Client struct + func NewClient(ctx context.Context, c *internal.DatabaseConfig) (*Client, error) + func (c *Client) NewRef(path string) *Ref + type Event struct + Data string + EventType EventType + Path string + func (e *Event) Snapshot() string + func (e *Event) Unmarshal(v interface{}) error + type EventType uint + const ChildAdded + const ChildChanged + const ChildRemoved + const ValueChanged + type Query struct + func (q *Query) EndAt(v interface{}) *Query + func (q *Query) EqualTo(v interface{}) *Query + func (q *Query) Get(ctx context.Context, v interface{}) error + func (q *Query) GetOrdered(ctx context.Context) ([]QueryNode, error) + func (q *Query) LimitToFirst(n int) *Query + func (q *Query) LimitToLast(n int) *Query + func (q *Query) StartAt(v interface{}) *Query + type QueryNode interface + Key func() string + Unmarshal func(v interface{}) error + type Ref struct + Key string + Path string + func (r *Ref) Child(path string) *Ref + func (r *Ref) Delete(ctx context.Context) error + func (r *Ref) Get(ctx context.Context, v interface{}) error + func (r *Ref) GetIfChanged(ctx context.Context, etag string, v interface{}) (bool, string, error) + func (r *Ref) GetShallow(ctx context.Context, v interface{}) error + func (r *Ref) GetWithETag(ctx context.Context, v interface{}) (string, error) + func (r *Ref) Listen(ctx context.Context) (*SnapshotIterator, error) + func (r *Ref) OrderByChild(child string) *Query + func (r *Ref) OrderByKey() *Query + func (r *Ref) OrderByValue() *Query + func (r *Ref) Parent() *Ref + func (r *Ref) Push(ctx context.Context, v interface{}) (*Ref, error) + func (r *Ref) Set(ctx context.Context, v interface{}) error + func (r *Ref) SetIfUnchanged(ctx context.Context, etag string, v interface{}) (bool, error) + func (r *Ref) Transaction(ctx context.Context, fn UpdateFn) error + func (r *Ref) Update(ctx context.Context, v map[string]interface{}) error + type SnapshotIterator struct + SSEDataChan <-chan string + Snapshot string + func (it *SnapshotIterator) Done() bool + func (it *SnapshotIterator) Next() (*Event, error) + func (it *SnapshotIterator) Stop() + type TransactionNode interface + Unmarshal func(v interface{}) error + type UpdateFn func(TransactionNode) (interface{}, error) Other modules containing this package github.com/D-Cous/firebase-admin-go github.com/D-Cous/firebase-admin-go/v3