serverSettings

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 4 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APP_LOCATION string
View Source
var SWAGGER_UI_PATH string
View Source
var WebConfig webConfigObj
View Source
var WebConfigMutex sync.RWMutex

Functions

func Initialize

func Initialize(path string, configurationFile string) (err error)

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"`
	Info                     info          `json:"info"`
	HtmlTemplates            htmlTemplates `json:"htmlTemplates"`
	RootIndexPath            string        `json:"rootIndexPath"`
	DisableRootIndex         bool          `json:"disableRootIndex"`
	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"`
}

Jump to

Keyboard shortcuts

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