bootstrapmeta

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package bootstrapmeta holds shared constants and helpers for system DB first-run bootstrap. Orchestration lives in each ApitoSystemDB driver implementation.

Index

Constants

View Source
const (
	AdminEmail         = "admin@apito.io"
	DefaultAdminPass   = "#ApitoRocks#"
	AdminFirstName     = "Apito"
	AdminLastName      = "Admin"
	StarterProjectID   = "apito_website"
	StarterProjectName = "Apito Website"
)

Variables

This section is empty.

Functions

func HashDefaultAdminPassword

func HashDefaultAdminPassword() ([]byte, error)

HashDefaultAdminPassword returns a bcrypt hash for the default bootstrap password.

func IsUserLookupMiss

func IsUserLookupMiss(err error) bool

IsUserLookupMiss reports whether err means the user document was not found.

func LogDefaultAdminCredentials

func LogDefaultAdminCredentials(email, plainPassword string)

LogDefaultAdminCredentials prints the bordered login banner (plaintext password).

Types

This section is empty.

Jump to

Keyboard shortcuts

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