Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilHasher = errors.New("nil hasher")
ErrNilHasher signals that a nil hasher has been provided
View Source
var ErrNilMarshalizer = errors.New("nil marshalizer")
ErrNilMarshalizer signals that a nil marshalizer has been provided
View Source
var ErrNilPubKeyConverter = errors.New("nil pub key converter")
ErrNilPubKeyConverter signals that a nil public key converter has been passed
Functions ¶
func NewConnectorFactory ¶
func NewConnectorFactory(args ConnectorFactoryArgs) (*elasticSearchConnectorFactory, error)
NewConnectorFactory will return a new instance of a elasticSearchConnectorFactory
Types ¶
type ConnectorFactoryArgs ¶
type ConnectorFactoryArgs struct { ElasticConfig config.ElasticSearchConfig Marshalizer marshal.Marshalizer Hasher hashing.Hasher ValidatorPubKeyConverter core.PubkeyConverter AddressPubKeyConverter core.PubkeyConverter }
ConnectorFactoryArgs holds the data needed for creating a new elastic search connector factory
Click to show internal directories.
Click to hide internal directories.