config

package
v0.0.0-...-8aa12d4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Competition

type Competition struct {
	Name string
}

type Config

type Config struct {
	Port        int
	HomeDir     string
	StaticDir   string
	Database    *data.Config
	Competition Competition
}

Config contains all the user configurable settings for the Server

var (
	Settings *Config
)

func LoadConfigFile

func LoadConfigFile(filename string) (*Config, error)

Jump to

Keyboard shortcuts

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