database

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data added in v0.2.0

type Data struct {
	AnythingArray []interface{}
	AnythingMap   map[string]interface{}
	Bool          *bool
	Double        *float64
	String        *string
}

Data: `Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error.

The JSON representation for `Value` is JSON value.

type ReferenceEventData

type ReferenceEventData struct {
	Data  *Data `json:"data"`  // `Value` represents a dynamically typed value which can be either; null, a number, a string, a boolean, a recursive struct value, or a; list of values. A producer of value is expected to set one of that; variants, absence of any variant indicates an error.; ; The JSON representation for `Value` is JSON value.
	Delta *Data `json:"delta"` // `Value` represents a dynamically typed value which can be either; null, a number, a string, a boolean, a recursive struct value, or a; list of values. A producer of value is expected to set one of that; variants, absence of any variant indicates an error.; ; The JSON representation for `Value` is JSON value.
}

ReferenceEventData: The data within all Firebase Real Time Database reference events.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL