Documentation ¶
Overview ¶
Package firebase is the entry point to the Firebase Admin SDK. It provides functionality for initializing App instances, which serve as the central entities that provide access to various other Firebase services exposed from the SDK.
Index ¶
Constants ¶
const Version = "1.0.1"
Version of the Firebase Go Admin SDK.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
An App holds configuration and state common to all Firebase services that are exposed from the SDK.
func NewApp ¶
NewApp creates a new App from the provided config and client options.
If the client options contain a valid credential (a service account file, a refresh token file or an oauth2.TokenSource) the App will be authenticated using that credential. Otherwise, NewApp attempts to authenticate the App with Google application default credentials.
Directories ¶
Path | Synopsis |
---|---|
Package auth contains functions for minting custom authentication tokens, and verifying Firebase ID tokens.
|
Package auth contains functions for minting custom authentication tokens, and verifying Firebase ID tokens. |
integration
|
|
internal
Package internal contains utilities for running integration tests.
|
Package internal contains utilities for running integration tests. |
Package internal contains functionality that is only accessible from within the Admin SDK.
|
Package internal contains functionality that is only accessible from within the Admin SDK. |