Documentation ¶
Index ¶
- func BoltDatabase(file string, _ map[string]string) (lurkcoin.Database, error)
- func GetSupportedDatabaseTypes() []string
- func OpenDatabase(dbType, location string, options map[string]string) (lurkcoin.Database, error)
- func PlaintextDatabase(location string, _ map[string]string) (lurkcoin.Database, error)
- func RegisterDatabaseType(name string, f databaseFactory)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSupportedDatabaseTypes ¶
func GetSupportedDatabaseTypes() []string
func OpenDatabase ¶
Opens a database. The options parameter can be nil.
func PlaintextDatabase ¶
func RegisterDatabaseType ¶
func RegisterDatabaseType(name string, f databaseFactory)
Registers a new database type. WARNING: This function is not goroutine-safe and should probably only be called from init().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.