Documentation ¶
Index ¶
- func Test(backend, query, content bool) *mock.Mock
- type DB
- func New(ctx context.Context, choice Subsets) (*DB, error)
- func NewCodeListStore(ctx context.Context) (*DB, error)
- func NewDimensionStore(ctx context.Context) (*DB, error)
- func NewHierarchyStore(ctx context.Context) (*DB, error)
- func NewInstanceStore(ctx context.Context) (*DB, error)
- func NewObservationStore(ctx context.Context) (*DB, error)
- type Subsets
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB struct { driver.Driver driver.CodeList driver.Hierarchy driver.Instance driver.Observation driver.Dimension Errors chan error }
DB contains the widest possible selection of functionality provided by any implementation of this abstraction
func New ¶
New DB returned according to provided subsets and the environment config satisfying the interfaces requested by the choice of subsets
func NewCodeListStore ¶
NewCodeListStore returns a configured DB containing the CodeList functionality
func NewDimensionStore ¶
NewDimensionStore returns a configured DB containing the Dimension functionality
func NewHierarchyStore ¶
NewHierarchyStore returns a configured DB containing the Hierarchy functionality
func NewInstanceStore ¶
NewInstanceStore returns a configured DB containing the Instance functionality
Click to show internal directories.
Click to hide internal directories.