Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthUrl = asString("daemon.auth.url", "http://localhost:8080")
View Source
var BinariesFolder = asDataFolder("daemon.data.binaries", "binaries")
View Source
var CacheFolder = asDataFolder("daemon.data.cache", "cache")
View Source
var ClientId = asString("daemon.auth.clientId", "")
View Source
var ClientSecret = asString("daemon.auth.clientSecret", "")
View Source
var CompanyName = asString("panel.settings.companyName", "PufferPanel")
View Source
var ConsoleBuffer = asInt("daemon.console.buffer", 50)
View Source
var ConsoleForward = asBool("daemon.console.forward", false)
View Source
var CrashLimit = asInt("daemon.data.crashLimit", 3)
View Source
var CurseForgeKey = asString("daemon.curseforge.key", curseforgeKey)
View Source
var DaemonEnabled = asBool("daemon.enable", true)
View Source
var DataRootFolder = asString("daemon.data.root", "")
View Source
var DatabaseDialect = asString("panel.database.dialect", "sqlite3")
View Source
var DatabaseLoggingEnabled = asBool("panel.database.log", false)
View Source
var DatabaseUrl = asString("panel.database.url", "")
View Source
var DefaultTheme = asString("panel.settings.defaultTheme", "PufferPanel")
View Source
var EmailDomain = asString("panel.email.domain", "")
View Source
var EmailFrom = asString("panel.email.from", "")
View Source
var EmailHost = asString("panel.email.host", "")
View Source
var EmailKey = asString("panel.email.key", "")
View Source
var EmailPassword = asString("panel.email.password", "")
View Source
var EmailProvider = asString("panel.email.provider", "")
View Source
var EmailTemplateFolder = asString("panel.email.templateFolder", "")
View Source
var EmailUsername = asString("panel.email.username", "")
View Source
var LogsFolder = asString("logs", "logs")
View Source
var MasterUrl = asString("panel.settings.masterUrl", "http://localhost:8080")
View Source
var PanelEnabled = asBool("panel.enable", true)
View Source
var PrivateKey = asString("panel.token", "")
View Source
var RegistrationEnabled = asBool("panel.registrationEnabled", true)
View Source
var SecurityForceOpenat = asBool("security.forceOpenat", false)
View Source
var SecurityForceOpenat2 = asBool("security.forceOpenat2", false)
View Source
var ServersFolder = asDataFolder("daemon.data.servers", "servers")
View Source
var SessionKey = asString("panel.sessionKey", "")
View Source
var SftpHost = asString("daemon.sftp.host", "0.0.0.0:5657")
View Source
var SftpKey = asDataFolder("daemon.sftp.key", "sftp.key")
View Source
var ThemeSettings = asString("panel.settings.themeSettings", "{}")
View Source
var TokenPublicUrl = asString("token.public", "")
View Source
var WebHost = asString("web.host", "0.0.0.0:8080")
View Source
var WebRoot = asString("panel.web.files", "www")
Functions ¶
func LoadConfigFile ¶
Types ¶
type DataFolder ¶
type DataFolder struct {
StringEntry
}
func (DataFolder) Value ¶
func (se DataFolder) Value() string
type Int64Entry ¶
type Int64Entry struct {
// contains filtered or unexported fields
}
func (Int64Entry) Value ¶
func (se Int64Entry) Value() int64
type StringEntry ¶
type StringEntry struct {
// contains filtered or unexported fields
}
func (StringEntry) Value ¶
func (se StringEntry) Value() string
Click to show internal directories.
Click to hide internal directories.