Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Server Settings BindAddress string `` /* 144-byte string literal not displayed */ ReadTimeout int `` /* 130-byte string literal not displayed */ WriteTimeout int `` /* 134-byte string literal not displayed */ // Protobuf Compilation Settings CompileTimeout int `` /* 139-byte string literal not displayed */ ProtocPath string `` /* 129-byte string literal not displayed */ ProtocGenGoPath string `` /* 175-byte string literal not displayed */ // Database Settings DatabaseDriver string `long:"database-driver" env:"DATABASE_DRIVER" default:"memory" json:"database_driver" description:"The database driver to use"` // Storage Settings StorageDriver string `long:"storage-driver" env:"STORAGE_DRIVER" default:"file" json:"storage_driver" description:"The storage driver to use"` // File Storage settings FileStoragePath string `` /* 184-byte string literal not displayed */ // Memory database settings PersistMemoryToDisk bool `` /* 155-byte string literal not displayed */ // Pre-populate cache with remote dependencies PreCachedRemotes []string `` /* 155-byte string literal not displayed */ // UI Settings RedirectNotFoundToUI bool `` /* 158-byte string literal not displayed */ CORSEnabled bool `long:"enable-cors" env:"ENABLE_CORS" json:"cors_enabled" description:"Enable CORS headers for requests"` // protobuf version as detected at boot ProtobufVersion string `no-flag:"" json:"protobuf_version"` // Compile environment - add a short t to trick unit test parsing GoVersion string `hidden:"true" short:"t" json:"go_version"` GitCommit string `hidden:"true" json:"git_commit"` CompileDate string `hidden:"true" json:"compile_date"` }
var GlobalConfig *Config
Click to show internal directories.
Click to hide internal directories.