# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Add should be called in init func of adaptor.
CreateAdaptor instantiates an adaptor given the adaptor type and the Config.
# Variables
Adaptors stores a map of adaptors by name.
ErrNamespaceMalformed represents the error to be returned when an invalid namespace is given.
# Structs
DbConfig is a standard typed config struct to use for as general purpose config for most databases.
ErrNotFound gives the details of the failed adaptor.
Error is an error that happened during an adaptor's operation.
# Interfaces
Adaptor defines the interface that all database connectors and nodes must follow.
Connectable defines the interface that adapters should follow to have their connections set on load Connect() allows the adaptor an opportunity to setup connections prior to Start().
Describable defines the interface that all database connectors and nodes must follow in order to support the help functions.
# Type aliases
Config is an alias to map[string]interface{} and helps us turn a fuzzy document into a conrete named struct.
Creator defines the init structure for an adaptor.
ErrorLevel indicated the severity of the error.