package
0.0.0-20190616130729-11120638d85f
Repository: https://github.com/bitum-project/bitumdata.git
Documentation: pkg.go.dev

# Packages

Package insight implements the Insight API.

# Functions

DisableLog disables all library log output.
NewAPIRouter creates a new HTTP request path router/mux for the given API, appContext.
NewContext constructs a new appContext from the RPC client, primary and auxiliary data sources, and JSON indentation string.
NewFileRouter creates a new HTTP request path router/mux for file downloads.
UseLogger uses a specified Logger to output package logging info.

# Constants

APIVersion is an integer value, incremented for breaking changes.

# Variables

CommitHash may be set on the build command line: go build -ldflags "-X main.CommitHash=`git rev-parse --short HEAD`".

# Structs

AppContextConfig is the configuration for the appContext and the only argument to its constructor.

# Interfaces

DataSourceAux specifies an interface for advanced data collection using the auxiliary DB (e.g.
DataSourceLite specifies an interface for collecting data from the built-in databases (i.e.