Documentation ¶
Overview ¶
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Code generated from Pkl module `appConfig.pkl`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthServerConfig ¶
type AuthServerConfig struct { AccessTokenValidity *pkl.Duration `pkl:"accessTokenValidity"` PasswordresetTokenValidity *pkl.Duration `pkl:"passwordresetTokenValidity"` DefaultUserScopes []string `pkl:"defaultUserScopes"` LastAuthenticatedAtThreshold *pkl.Duration `pkl:"lastAuthenticatedAtThreshold"` }
type DatabaseConfig ¶
type DatabaseConfig struct { PSQLDB string `pkl:"PSQLDB"` PSQLHOST string `pkl:"PSQLHOST"` PSQLPORT int32 `pkl:"PSQLPORT"` PSQLUSER string `pkl:"PSQLUSER"` PSQLPASS string `pkl:"PSQLPASS"` AdditionalParams map[string]string `pkl:"AdditionalParams"` DBMaxOpenConns int `pkl:"DBMaxOpenConns"` MaxIdleConns int `pkl:"MaxIdleConns"` MinIdleConns int `pkl:"MinIdleConns"` ConnectionMaxLifetime *pkl.Duration `pkl:"ConnectionMaxLifetime"` }
type EchoConfig ¶
type EchoConfig struct { Debug bool `pkl:"debug"` ListenAddr string `pkl:"listenAddr"` HideInternalServerErrorDetails bool `pkl:"hideInternalServerErrorDetails"` BaseUrl *string `pkl:"baseUrl"` LoggerMiddleware bool `pkl:"loggerMiddleware"` RecoverMiddleware bool `pkl:"recoverMiddleware"` SecureMiddleware *EchoServerSecureMiddlewareConfig `pkl:"secureMiddleware"` }
type EchoServerSecureMiddlewareConfig ¶
type EchoServerSecureMiddlewareConfig struct { Enable bool `pkl:"enable"` XssProtection string `pkl:"xssProtection"` ContentTypeNosniff string `pkl:"contentTypeNosniff"` XFrameOptions string `pkl:"xFrameOptions"` HstsMaxAge int `pkl:"hstsMaxAge"` HstsExcludeSubdomains bool `pkl:"hstsExcludeSubdomains"` HstsPreload bool `pkl:"hstsPreload"` ContentSecurityPolicy string `pkl:"contentSecurityPolicy"` CspReportOnly bool `pkl:"cspReportOnly"` ReferrerPolicy string `pkl:"referrerPolicy"` }
type LoggerConfig ¶
type LoggerConfig struct { Level loggerlevel.LoggerLevel `pkl:"level"` RequestLevel loggerlevel.LoggerLevel `pkl:"requestLevel"` RequestBody bool `pkl:"requestBody"` RequestHeader bool `pkl:"requestHeader"` RequestQuery bool `pkl:"requestQuery"` ResponseHeader bool `pkl:"responseHeader"` ResponseBody bool `pkl:"responseBody"` LogCaller bool `pkl:"logCaller"` PreetyPrintConsole bool `pkl:"preetyPrintConsole"` }
type ManagementServerConfig ¶
type Pkl ¶
type Pkl struct { Echo *EchoConfig `pkl:"Echo"` SB *SupabaseConfig `pkl:"SB"` DB *DatabaseConfig `pkl:"DB"` Auth *AuthServerConfig `pkl:"Auth"` Logger *LoggerConfig `pkl:"Logger"` ENV environment.Environment `pkl:"ENV"` Management *ManagementServerConfig `pkl:"Management"` }
type SupabaseConfig ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Code generated from Pkl module `appConfig.pkl`.
|
Code generated from Pkl module `appConfig.pkl`. |
Code generated from Pkl module `appConfig.pkl`.
|
Code generated from Pkl module `appConfig.pkl`. |
Click to show internal directories.
Click to hide internal directories.