Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
// contains filtered or unexported fields
}
Database is a local representation of a Firebase database.
type Node ¶
type Node struct { Key string Value interface{} Children map[string]*Node Parent *Node // contains filtered or unexported fields }
Node represents an object linked in Database. This object should not be created by hand, use NewNode when creating a new instance of Node.
func (*Node) Child ¶
Child gets a DataSnapshot for the location at the specified relative path. The relative path can either be a simple child key (e.g. 'fred') or a deeper slash-separated path (e.g. 'fred/name/first').
func (*Node) MarshalJSON ¶
MarshalJSON turns the node object into JSON bytes.
Click to show internal directories.
Click to hide internal directories.