common

package module
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 8 Imported by: 2

README

Common package

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Constants = ConstantsType{}
View Source
var Firebase = FirebaseConstant{}

Functions

func GetApp

func GetApp() *firebase.App

Types

type ConstantsType

type ConstantsType struct {
	FIREBASE_PROJECT_ID            string
	TEST                           bool
	FIREBASE_AUTH_EMULATOR_HOST    string
	FIREBASE_STORAGE_EMULATOR_HOST string
	FIRESTORE_EMULATOR_HOST        string
	API_GATEWAY_PORT               string
	USER_GRPC_PORT                 string
}

type FirebaseConstant added in v0.1.1

type FirebaseConstant struct {
	App       *firebase.App
	Firestore *firestore.Client
	Storage   *storage.Client
	Auth      *auth.Client
}

type Service added in v1.12.0

type Service string
const (
	User      Service = "user"
	Nutrition Service = "nutrition"
)

type ServicesMap added in v1.12.0

type ServicesMap struct {
	User      Service
	Nutrition Service
}

Directories

Path Synopsis
gen
nutrition
Package nutrition is a reverse proxy.
Package nutrition is a reverse proxy.
user
Package user is a reverse proxy.
Package user is a reverse proxy.

Jump to

Keyboard shortcuts

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