setup

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const InitializationPrefix = "SETUPINITIALIZATION:"

Variables

This section is empty.

Functions

This section is empty.

Types

type Initialization

type Initialization struct {
	DatabaseInitDate time.Time      `json:"databaseInitDate"`
	WizardComplete   bool           `json:"wizardComplete"`
	SetupUserID      store.Identity `json:"setupUserID"`
	EnvUserID        store.Identity `json:"envUserID"`
}

func (Initialization) Key

func (i Initialization) Key() []byte

func (Initialization) Prefix

func (i Initialization) Prefix() []byte

type InitializationProvider

type InitializationProvider interface {
	Get() (Initialization, error)
	Set(initialization Initialization) error
	EnsureDatabase() error
}

type Providers

type Providers struct {
	Initialization InitializationProvider
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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