config

package
v0.0.0-...-b7271af Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirebaseAuthClient

func GetFirebaseAuthClient() *auth.Client

func InitConfig

func InitConfig()

func InitFirebase

func InitFirebase()

Types

type Config

type Config struct {
	Env    string
	Server struct {
		Port string
	}
	Database struct {
		Host     string
		User     string
		Password string
		Name     string
		Port     string
	}
	Firebase struct {
		CredentialJSON string
	}
}
var Cfg Config

Jump to

Keyboard shortcuts

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