Documentation
¶
Index ¶
- type FB
- func (fb *FB) CreateApp(ctx context.Context) (*firebase.App, error)
- func (fb *FB) Find(ctx context.Context, collection, path, op string, value interface{}) (map[string]interface{}, error)
- func (fb *FB) FindCol2Doc2(ctx context.Context, collection, Doc, col2, path, op string, value interface{}) (map[string]interface{}, error)
- func (fb *FB) ReadCol(ctx context.Context, path string) ([]map[string]interface{}, error)
- func (fb *FB) ReadMap(ctx context.Context, path string, Doc string) (*firestore.DocumentSnapshot, error)
- func (fb *FB) ReadMapCol2Doc2(ctx context.Context, path, Doc, col2, Doc2 string) (*firestore.DocumentSnapshot, error)
- func (fb *FB) WriteMap(ctx context.Context, doc map[string]interface{}, collection string, Doc string)
- func (fb *FB) WriteMapCol2Doc2(ctx context.Context, doc map[string]interface{}, collection string, Doc string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FB ¶
type FB struct { sync.Mutex Credentials string App *firebase.App StorageBucket string Bucket *bucket.Bucket // contains filtered or unexported fields }
Firebase struct
func (*FB) FindCol2Doc2 ¶ added in v1.0.2
func (*FB) ReadMapCol2Doc2 ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.