Documentation
¶
Index ¶
- Variables
- func InitFirebase() error
- func InitFirebaseOnce() error
- func LoginUser(email, password string) (map[string]interface{}, error)
- func RegisterUser(email, password string) (*auth.UserRecord, error)
- func ResetPassword(email string) error
- func Save(group, environment, host, user, alias, password string, isRDP bool)
- func UpdateKeyRotationTime(group, environment, hostname string) error
- type Config
- type Env
- type Group
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var App *firebase.App
View Source
var Ctx = context.Background()
Functions ¶
func InitFirebase ¶
func InitFirebase() error
InitFirebase initializes the Firebase app and assigns it to App
func InitFirebaseOnce ¶ added in v0.2.1
func InitFirebaseOnce() error
InitFirebaseOnce initializes Firebase only once
func RegisterUser ¶
func RegisterUser(email, password string) (*auth.UserRecord, error)
RegisterUser registers a new user with email and password
func ResetPassword ¶ added in v0.2.1
ResetPassword sends a password reset email to the specified user
func UpdateKeyRotationTime ¶ added in v0.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.