services

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Firebase

type Firebase struct {
	ProjectId      string `mapstructure:"project_id"`
	CredentialFile string `mapstructure:"credential_file"`

	Cancel *context.CancelFunc
	Ctx    *context.Context
	// contains filtered or unexported fields
}

func (*Firebase) App

func (svc *Firebase) App() *firebase.App

func (*Firebase) Auth

func (svc *Firebase) Auth() *auth.Client

func (*Firebase) LoadFromConfig

func (svc *Firebase) LoadFromConfig(key string, config *viper.Viper) error

func (*Firebase) Messaging

func (svc *Firebase) Messaging() *messaging.Client

Jump to

Keyboard shortcuts

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