Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core interface { Indexer() indexer.Indexer TPSBenchmark() statistics.TPSBenchmark IsInterfaceNil() bool }
Core interface will abstract all the subpackage functionalities and will
provide access to it's members where needed
func NewServiceContainer ¶
NewServiceContainer creates a new serviceContainer responsible in
providing access to all injected core features
type Option ¶
type Option func(container *serviceContainer) error
Option represents a functional configuration parameter that
can operate over the serviceContainer struct
func WithIndexer ¶
WithIndexer sets up the database indexer for the core serviceContainer
func WithTPSBenchmark ¶
func WithTPSBenchmark(tpsBenchmark statistics.TPSBenchmark) Option
WithTPSBenchmark sets up the tpsBenchmark object for the core serviceContainer
Click to show internal directories.
Click to hide internal directories.