firebase

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthApp

func NewAuthApp(ctx context.Context, client *firebase.App) (*auth.Client, error)

func NewClient

func NewClient(ctx context.Context, firebaseOption config.Firebase) (*firebase.App, error)

env FIREBASE_CONFIG_JSON env FIREBASE_PROJECT_ID NewClient method

func NewFirestoreApp added in v0.0.8

func NewFirestoreApp(ctx context.Context, client *firebase.App) (*firestore.Client, error)

func VerifyIDToken

func VerifyIDToken(ctx context.Context, app *auth.Client, token string) (*auth.Token, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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