elastic

package
v1.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL