# 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
No description provided by the author
# Functions
Adaptors returns an non-initialized adaptor and is best used for doing assertions to see if the Adaptor supports other interfaces.
Add should be called in init func of adaptor.
GetAdaptor looks up an adaptor by name and then init's it with the provided Config.
MockConfirmWrites is a helper function for tests needing a confirms chan.
RegisteredAdaptors returns a slice of the names of every adaptor registered.
VerifyWriteConfirmed is a helper function to be used in conjunction with MockConfirmWrites.
# Variables
ErrNamespaceMalformed represents the error to be returned when an invalid namespace is given.
# Structs
BaseConfig is a standard typed config struct to use for as general purpose config for most databases.
ErrFuncNotSupported should be used for adaptors that do not support a given function defined by the interface.
ErrNotFound gives the details of the failed adaptor.
Mock can be used for mocking tests that need no functional client interfaces.
MockClientErr can be used to to mock client.Client() errors.
MockWriterErr can be used to to mock client.Write() errors.
UnsupportedMock can be used for mocking tests that need no functional client interfaces.
# Interfaces
Adaptor defines the interface which provides functions to create client interfaces.
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.