firebase

package module
v0.0.0-...-ea3c94a Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Get(ctx context.Context, key string) (interface{}, error)
	Set(ctx context.Context, key string, value interface{}) error
	Close() error
}

Client Interface for mocking

func Authenticate

func Authenticate(ctx context.Context, collection string) (Client, error)

Authenticate grabs oauth scopes using a generated service_account.json file from https://console.firebase.google.com/project/go-cookbook/settings/serviceaccounts/adminsdk

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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