conf

package
v0.0.0-...-bed4bf8 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Conf = new(Config)
)

Functions

This section is empty.

Types

type Config

type Config struct {
	EnableCORS bool
	Proxy      []Proxy `yaml:"proxy"`
}

func (Config) Print

func (Config) Print()

type Proxy

type Proxy struct {
	Host     string `yaml:"host"`
	Upstream string `yaml:"upstream"`
}

Jump to

Keyboard shortcuts

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