Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDBNotSupported = errors.New("not supported db")
View Source
var ErrIncompleteCertInformationProvided = errors.New("you provided some, but not all certificate information")
Functions ¶
func GetGlobalDB ¶
Types ¶
type Config ¶
type Config struct { Use string `default:"cockroach"` Prefix string `default:""` Cockroach struct { Host string `default:"cockroach"` Port string `default:"26257"` UserName string `default:"root"` Password string `default:""` ClientCA string `default:""` ClientSSLKey string `default:""` ClientSSLCert string `default:""` Database string `default:"scoretrak"` ConfigureZones bool `default:"true"` DefaultZoneConfig struct { GcTtlseconds uint64 `default:"600"` BackpressureRangeSizeMultiplier uint64 `default:"0"` } } Sqlite struct { Path string `default:"scoretrak.db"` Database string `default:"scoretrak"` } }
Click to show internal directories.
Click to hide internal directories.