Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMultiLogger ¶
func CreateMultiLogger(loggerConfigs []LoggerConfig) (*zerolog.Logger, error)
Types ¶
type Config ¶
type Config struct { Server struct { ListenAddress string BasePath string CorsOrigins []string TrustedReverseProxyRanges []ipnet RequireJwtAccount bool } Storage struct { Path string ShardLayers int ExifRemove bool MaximumUploadSize datasize.ByteSize } Database struct { Type string Path string } Expiration struct { MaxAge duration IdentifiedMaxAge duration CheckInterval duration } PreFinishCommands []PreFinishCommand JwtSecretsByIssuer map[string]string Loggers []LoggerConfig }
func (*Config) DoPostLoadLogging ¶
type LoggerConfig ¶
type LoggerConfig struct { Level logLevel Format logFormat Output logOutput }
Click to show internal directories.
Click to hide internal directories.