configuration

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: GPL-3.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Target      string       `default:"development" yaml:"target"`
	Root        string       `yaml:"root"`
	OptRoot     string       `yaml:"optroot"`
	Domain      string       `yaml:"domain"`
	ExternalIP  string       `yaml:"externalIP"`
	CommonName  string       `yaml:"commonName"`
	HostHome    string       `yaml:"hostHome"`
	Environment *Environment `yaml:"-"`
	Flags       Flags        `yaml:"-"`
}

func NewConfig

func NewConfig() *Configuration

type Environment

type Environment struct {
	HOMEDIR    string
	OPTDIR     string
	PROJECTDIR string
	PROJECT    string
	AGENTIP    string
}

type Flags

type Flags struct {
	Opt     bool
	Verbose bool
}

Jump to

Keyboard shortcuts

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