Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBBackendName ¶
type DBBackendName string
const ( Postgres DBBackendName = "postgres" MongoDB DBBackendName = "mongodb" MySql DBBackendName = "mysql" MSSql DBBackendName = "sqlserver" Sqlite DBBackendName = "sqlite3" )
type DatabaseConfig ¶
type DatabaseConfig struct { NeedsHeaders bool ConnString string Backend DBBackendName Username string Password string }
func NewDatabaseConfig ¶
func NewDatabaseConfig(connString string) (*DatabaseConfig, error)
type DatabaseWriter ¶
type GenericSQLWriter ¶
type GenericSQLWriter struct {
DatabaseWriter
}
type MongoDBWriter ¶
type MongoDBWriter struct {
DatabaseWriter
}
Click to show internal directories.
Click to hide internal directories.