conf

package
v0.0.0-...-7acb1c3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: AGPL-3.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 Conf

type Conf struct {
	DBMSConf     gotables.Config `json:"dbms_conf"`
	Port         string          `json:"port"`
	AssetDir     string          `json:"asset_dir"`
	UploadDir    string          `json:"upload_dir"`
	HTTPS        bool            `json:"https"`
	SSLCert      string          `json:"ssl_cert"`
	SSLKey       string          `json:"ssl_key"`
	DBMSRun      bool            `json:"dbms_run"`
	DBMSBootTime int             `json:"dbms_boot_time"`
	SessionLen   int             `json:"session_len"`
}

func Load

func Load(location string) (Conf, error)

Jump to

Keyboard shortcuts

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