Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthUrl = asString("daemon.auth.url", "http://localhost:8080")
View Source
var BinariesFolder = asString("daemon.data.binaries", "binaries")
View Source
var CacheFolder = asString("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 DaemonEnabled = asBool("daemon.enable", true)
Daemon options
View Source
var DatabaseDialect = asString("panel.database.dialect", "sqlite3")
View Source
var DatabaseLoggingEnabled = asBool("panel.database.log", false)
View Source
var DatabaseSessionLength = asInt("panel.database.session", 60)
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 EmailTemplateJson = asString("panel.email.templates", "email/emails.json")
View Source
var EmailUsername = asString("panel.email.username", "")
View Source
var LogsFolder = asString("logs", "logs")
Global options
View Source
var MasterUrl = asString("panel.settings.masterUrl", "http://localhost:8080")
View Source
var PanelEnabled = asBool("panel.enable", true)
Panel options
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 = asString("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 = asString("daemon.sftp.key", "sftp.key")
View Source
var ThemeSettings = asString("panel.settings.themeSettings", "{}")
View Source
var TokenPrivate = asString("token.private", "private.pem")
Deprecated: Removed in v3
View Source
var TokenPublic = asString("token.public", "public.pem")
Deprecated: Removed in v3
View Source
var WebHost = asString("web.host", "0.0.0.0:8080")
View Source
var WebRoot = asString("panel.web.files", "www")
View Source
var WebSocketFileLimit = asInt64("daemon.data.maxWSDownloadSize", 1024*1024*20)
Functions ¶
func LoadConfigFile ¶
Types ¶
type BoolEntry ¶ added in v2.6.0
type BoolEntry struct {
// contains filtered or unexported fields
}
type Int64Entry ¶ added in v2.6.0
type Int64Entry struct {
// contains filtered or unexported fields
}
func (Int64Entry) Value ¶ added in v2.6.0
func (se Int64Entry) Value() int64
type StringEntry ¶ added in v2.6.0
type StringEntry struct {
// contains filtered or unexported fields
}
func (StringEntry) Value ¶ added in v2.6.0
func (se StringEntry) Value() string
Click to show internal directories.
Click to hide internal directories.