Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until either UseLogger or SetLogWriter are called.
func New ¶
func New(appDir, dataDir string, anp *chaincfg.Params, tlogHost, tlogPass, dbType, dbHost, dbPass, dcrtimeHost, dcrtimeCert string) (*tstoreBackend, error)
New returns a new tstoreBackend.
func NewTestTstoreBackend ¶
NewTestTstoreBackend returns a tstoreBackend that is setup for testing and a closure that cleans up all test data when invoked.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.