cc_fb_config

package
v0.0.0-...-a558ee2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: MIT Imports: 4 Imported by: 0

README

Firebase Settings and Configuration

Need to define a DB_CONFIG instance within this package.

package cc_firebase_config

var DB_CONFIG DBConfig = DBConfig{
        BaseURL: ...,
}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ENVIRONMENT_TYPE_LOOKUP map[EnvironmentType]string = map[EnvironmentType]string{
	DEV:  "dev",
	PROD: "prod",
}
View Source
var ENVIRONMENT_TYPE_REVERSE_LOOKUP map[string]EnvironmentType = map[string]EnvironmentType{
	"dev":  DEV,
	"prod": PROD,
}

Functions

func SetCCFirebaseConfig

func SetCCFirebaseConfig()

Types

type CCFirebaseConfig

type CCFirebaseConfig struct {
	Client      *http.Client
	ProjectPath string
	Environment EnvironmentType
}
var CC_FIREBASE_CONFIG CCFirebaseConfig

type EnvironmentType

type EnvironmentType int
const (
	DEV EnvironmentType = iota
	PROD
)

Jump to

Keyboard shortcuts

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