firebase

package
Version: v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Database

func Database() *firego.Firebase

Database returns the initialized database connection

func Init

func Init(c *Config) error

Init initializes the firebase connection

func NewToken

func NewToken(user *session.User) (string, error)

NewToken returns a new firebase token for the user

Types

type Config

type Config struct {
	URL    string
	Secret string
}

Config is the firebase configuration

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL