config

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultAddress = ":33700"
	DefaultPort    = 33700
	DefaultConfig  = &Config{
		Root:    DefaultRoot,
		Address: DefaultAddress,
	}
)
View Source
var DefaultRoot = GetRoot()

Functions

func GetRoot

func GetRoot() string

func LoadRoot

func LoadRoot() string

Types

type Config

type Config struct {
	Root    string `yaml:"root"`
	Address string `yaml:"address"`
}

Jump to

Keyboard shortcuts

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