Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrBlockBodyAssertion = errors.New("error asserting BodyHandler interface of type block body")
ErrBlockBodyAssertion signals that an error occurred when trying to assert BodyHandler interface of type block body
var ErrCannotCastAccountHandlerToUserAccount = errors.New("cannot cast AccountHandler to UserAccountHandler")
ErrCannotCastAccountHandlerToUserAccount signals an error when trying to cast from AccountHandler to UserAccountHandler
var ErrNilAccountsAdapter = errors.New("received nil input value: accounts adapter")
ErrNilAccountsAdapter signals that an accounts adapter input parameter is nil
var ErrNilHasher = errors.New("received nil input value: hasher")
ErrNilHasher signals that a nil hasher has been provided
var ErrNilMarshaller = errors.New("received nil input value: marshaller")
ErrNilMarshaller signals that a nil marshaller has been provided
var ErrNilMiniBlockHandler = errors.New("received nil input value: mini block handler")
ErrNilMiniBlockHandler signals that a nil mini block handler has been provided
var ErrNilPubKeyConverter = errors.New("received nil input value: pub key converter")
ErrNilPubKeyConverter signals that a pub key converter input parameter is nil
var ErrNilShardCoordinator = errors.New("received nil input value: shard coordinator")
ErrNilShardCoordinator signals that a shard coordinator input parameter is nil
Functions ¶
This section is empty.
Types ¶
type AvroMarshaller ¶
type AvroMarshaller interface { Encode(record avro.AvroRecord) ([]byte, error) Decode(record avro.AvroRecord, buffer []byte) error }
AvroMarshaller defines what an avro marshaller should do
type HyperBlockProcessor ¶
type HyperBlockProcessor interface {
Process(hyperBlock *hyperBlock.HyperBlock) (*schema.HyperBlock, error)
}
HyperBlockProcessor shall handle hyper block processing into avro schema blocks