config

package
v0.0.0-...-3bedab1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultConfig

func CreateDefaultConfig() error

func LoadConfig

func LoadConfig() error

Types

type Config

type Config struct {
	IPAddress     string
	Port          string
	RootDirectory string
	IndexFiles    []string
	NotFoundPage  string
	ForbiddenPage string
	EnableHTTPS   bool
	CertFile      string
	KeyFile       string
	HTTPSPort     string
}
var GlobalConfig Config

Jump to

Keyboard shortcuts

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