Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderEntry ¶
type BuilderEntry struct {
Standard *standardbuilder.Config `yaml:"standard,omitempty"`
Noop *noopbuilder.Config `yaml:"noop,omitempty"`
}
type CommitterEntry ¶
type CommitterEntry struct {
Standard *standardcommitter.Config `yaml:"standard,omitempty"`
Noop *noopcommitter.Config `yaml:"noop,omitempty"`
}
func (*CommitterEntry) Start ¶
func (b *CommitterEntry) Start(ctx context.Context, id seqtypes.CommitterID, opts *work.ServiceOpts) (work.Committer, error)
type Ensemble ¶
type Ensemble struct {
// Endpoints is a no-op list of endpoints
// to prevent repetitive endpoints in a yaml.
// This list can all be declared at the top, and items can be referenced with yaml refs.
Endpoints []string `yaml:"endpoints"`
Builders map[seqtypes.BuilderID]*BuilderEntry `yaml:"builders"`
Signers map[seqtypes.SignerID]*SignerEntry `yaml:"signers"`
Committers map[seqtypes.CommitterID]*CommitterEntry `yaml:"committers"`
Publishers map[seqtypes.PublisherID]*PublisherEntry `yaml:"publishers"`
Sequencers map[seqtypes.SequencerID]*SequencerEntry `yaml:"sequencers"`
}
type PublisherEntry ¶
type PublisherEntry struct {
Standard *standardpublisher.Config `yaml:"standard,omitempty"`
Noop *nooppublisher.Config `yaml:"noop,omitempty"`
}
func (*PublisherEntry) Start ¶
func (b *PublisherEntry) Start(ctx context.Context, id seqtypes.PublisherID, opts *work.ServiceOpts) (work.Publisher, error)
type SequencerEntry ¶
type SequencerEntry struct {
Full *fullseq.Config `yaml:"full,omitempty"`
Noop *noopseq.Config `yaml:"noop,omitempty"`
}
func (*SequencerEntry) Start ¶
func (b *SequencerEntry) Start(ctx context.Context, id seqtypes.SequencerID, opts *work.ServiceOpts) (work.Sequencer, error)
type SignerEntry ¶
type SignerEntry struct {
LocalKey *localkey.Config `yaml:"local-key,omitempty"`
Noop *noopsigner.Config `yaml:"noop,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.