Documentation ¶ Index ¶ func AddData(key string, data interface{}, cf Config) (*firestore.DocumentRef, error) func GetDecodedFireBaseKey(key string) ([]byte, error) func Initialize(key string) (*firebase.App, error) func SendSingleNotification(key string, messaging *messaging.Message) error type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddData ¶ func AddData(key string, data interface{}, cf Config) (*firestore.DocumentRef, error) func GetDecodedFireBaseKey ¶ func GetDecodedFireBaseKey(key string) ([]byte, error) func Initialize ¶ func Initialize(key string) (*firebase.App, error) func SendSingleNotification ¶ func SendSingleNotification(key string, messaging *messaging.Message) error Send Push notifications to a single device Types ¶ type Config ¶ type Config struct { ParentCollection string ParentDocument string SubParentCollection string Collection string DocName string } Source Files ¶ View all Source files firebase.go Click to show internal directories. Click to hide internal directories.