config

package
v0.0.0-...-073ac79 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(s string)

Init will initialize the config file.

Types

type Config

type Config struct {
	AllowedIPs []string `json:"allowed_ips"`
	Database   struct {
		Container string
		Password  string
		Prefix    string
		Type      string
		User      string
	}
	DeployPaths []string `json:"deploy_paths"`
	Domain      string
	Docker      struct {
		Host    string
		Version string
	}
	Links      map[string]string
	Listen     string
	Menu       []*MenuItem
	Containers struct {
		Exclude []string
	}
	Title string
	Style map[string]string
}

Config represents a config struct.

func Get

func Get() *Config

Get will return the config struct.

type MenuItem struct {
	Title string
	Link  string
}

Jump to

Keyboard shortcuts

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