Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Load ¶
func Load(configFile string) *domain.RuntimeConfig
Load opens the json passed and merges it with defaults
Types ¶
type SetupKey ¶ added in v0.9.0
type SetupKey struct {
Config *domain.RuntimeConfig `checkinject:"required"`
DBManager interface {
GetSetupKey() (string, error)
DeleteSetupKey() error
} `checkinject:"required"`
UserModel interface {
GetAllAdmins() ([]domain.UserID, error)
} `checkinject:"required"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.