config

package
v0.0.0-...-98b71ec Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 5 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 {
	server.Config
	Plugins plugin.Settings
	Console struct {
		Debug bool
	}
}

Config is the server's main configuration file. It contains all dragonfly settings, as well as saddle-specific ones. todo: improve

func Read

func Read() (Config, error)

Read reads the configuration from the config.toml file, or creates the file if it does not yet exist.

Jump to

Keyboard shortcuts

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