config

package
v0.0.0-...-e9647d8 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BestdoriAPIUrl *url.URL
View Source
var Version string

Functions

This section is empty.

Types

type YamlConfig

type YamlConfig struct {
	RunAddr string        `yaml:"run-addr"`
	Debug   bool          `yaml:"debug"`
	API     YamlConfigAPI `yaml:"api"`
}
var Config *YamlConfig

func NewYamlConfig

func NewYamlConfig() *YamlConfig

type YamlConfigAPI

type YamlConfigAPI struct {
	BestdoriProxy string `yaml:"bestdori-proxy"`
}

Jump to

Keyboard shortcuts

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