firebase

package module
v0.0.0-...-91be437 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 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 App

type App struct {
	// contains filtered or unexported fields
}

App is the entry point for Firebase services

func New

func New(ctx context.Context, cfg Config) (*App, error)

New initializes the Firebase app with services

func (*App) Auth

func (a *App) Auth() *Auth

Auth returns the authentication service

type Auth

type Auth struct {
	// contains filtered or unexported fields
}

Auth wraps Firebase Authentication

func (*Auth) GetUser

func (a *Auth) GetUser(ctx context.Context, uid string) (*auth.UserRecord, error)

type Config

type Config struct {
	CredentialsFile string
	ProjectID       string
}

Jump to

Keyboard shortcuts

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