config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: GPL-3.0 Imports: 1 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 {
	DNS     DNS
	General General
}

func GetInstance

func GetInstance() *Config

type Cors

type Cors struct {
	Origins []string
	Methods []string
	Headers []string
}

type DNS

type DNS struct {
	InternalServers []string
	ExternalServers []string
}

type General

type General struct {
	Cors Cors
}

Jump to

Keyboard shortcuts

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