conf

package
v0.0.0-...-5a8df17 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatabaseConfig = &database{
	Type:   "sqlite3",
	DBFile: "fpp.db",
}

DatabaseConfig 数据库配置

View Source
var SSLConfig = &ssl{
	Listen:   ":443",
	CertPath: "",
	KeyPath:  "",
}
View Source
var SystemConfig = &system{
	Debug:              false,
	Listen:             ":9826",
	ProxyListen:        ":9827",
	NumberOfThreads:    50,
	ExtractionInterval: 60,
	CheckInterval:      15,
}

SystemConfig 系统公用配置

View Source
var Version = "0.0.1"

Version 当前版本号

Functions

func Init

func Init(path string)

Init 初始化配置文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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