config

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Servers []struct {
		Host           string `yaml:"host"`
		Port           uint16 `yaml:"port"`
		HashFormat     string `yaml:"hashFormat"`
		Encrypted      bool   `yaml:"encrypted"`
		DisableHistory bool   `yaml:"disable_history"`
		PublicIP       string `yaml:"public_ip"`
		ShellPath      string `yaml:"shell_path"`
	}
	RESTful struct {
		Host   string `yaml:"host"`
		Port   uint16 `yaml:"port"`
		Enable bool   `yaml:"enable"`
	}
	Distributor struct {
		Host string `yaml:"host"`
		Port uint16 `yaml:"port"`
		Url  string `yaml:"url"`
	}
	Update      bool `yaml:"update"`
	OpenBrowser bool `yaml:"openBrowser"`
}

Jump to

Keyboard shortcuts

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