Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APP_LOCATION string
View Source
var WebConfigMutex sync.RWMutex
Functions ¶
func InitCustomWebConfig ¶ added in v1.4.4
func InitCustomWebConfig(webConfig string)
func Initialize ¶
Types ¶
type Application ¶
type Application struct {
Name string `json:"name"`
Domain string `json:"domain"`
ServerFQDN string `json:"serverFQDN"`
VersionNumeric int `json:"versionNumeric"`
VersionDot string `json:"versionDot"`
ProductName string `json:"productName"`
HttpPort int `json:"httpPort"`
HttpsPort int `json:"httpsPort"`
CookieDomain string `json:"cookieDomain"`
ReleaseMode string `json:"releaseMode"`
WebServiceOnly bool `json:"webServiceOnly"`
MountGitWebHooks bool `json:"mountGitWebHooks"`
GitWebHookSecretKey string `json:"gitWebHookSecretKey"`
GitWebHookPort string `json:"gitWebHookServerPort"`
GitWebHookPath string `json:"gitWebHookPath"`
HtmlTemplates HtmlTemplates `json:"htmlTemplates"`
RootIndexPath string `json:"rootIndexPath"`
DisableRootIndex bool `json:"disableRootIndex"`
DisableWebSockets bool `json:"disableWebSockets"`
CustomGinLogger bool `json:"customGinLogger"`
SessionKey string `json:"sessionKey"`
SessionName string `json:"sessionName"`
SessionExpirationDays int `json:"sessionExpirationDays"`
SessionSecureCookie bool `json:"sessionSecureCookie"`
CSRFSecret string `json:"csrfSecret"`
BootstrapData bool `json:"bootstrapData"`
LogQueries bool `json:"logQueries"`
LogQueryStackTraces bool `json:"logQueryStackTraces"`
LogJoinQueries bool `json:"logJoinQueries"`
LogQueryTimes bool `json:"logQueryTimes"`
LogGophers bool `json:"logGophers"`
CoreDebugStackTrace bool `json:"coreDebugStackTrace"`
AllowCrossOriginRequests bool `json:"allowCrossOriginRequests"`
}
type DbConnection ¶ added in v1.4.4
type DbConnection struct {
ConnectionString string `json:"connectionString"`
EnableTLS bool `json:"enableTLS"`
Driver string `json:"driver"`
Database string `json:"database"`
AuthServer bool `json:"authServer"`
TransactionSizeMax int `json:"transactionSizeMax"`
AuditHistorySizeMax int `json:"auditHistorySizeMax"`
Replication struct {
Enabled bool `json:"enabled"`
ReplicaSet string `json:"replicaSet"`
Master string `json:"master"`
Slaves []string `json:"slaves"`
} `json:"replication"`
}
type HtmlTemplates ¶ added in v1.4.4
type WebConfigType ¶ added in v1.4.4
type WebConfigType struct {
DbConnections []DbConnection `json:"dbConnections"`
Application Application `json:"application"`
DbConnection DbConnection
}
var WebConfig WebConfigType
Click to show internal directories.
Click to hide internal directories.