fallback

package
v0.4.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ValidateBlock(ctx context.Context, block *types.BuilderBlockValidationRequest) (err error)
	ValidateBlockV2(ctx context.Context, block *types.BuilderBlockValidationRequest) (err error)
	Kind() string
}

type Fallback

type Fallback struct {
	// contains filtered or unexported fields
}

func NewFallback

func NewFallback() *Fallback

func (*Fallback) AddClient

func (f *Fallback) AddClient(cli Client)

func (*Fallback) AttachMetrics

func (fb *Fallback) AttachMetrics(m *metrics.Metrics)

func (*Fallback) IsSet added in v0.3.23

func (f *Fallback) IsSet() bool

func (*Fallback) Len

func (f *Fallback) Len() int

func (*Fallback) ValidateBlock

func (f *Fallback) ValidateBlock(ctx context.Context, block *types.BuilderBlockValidationRequest) (err error)

func (*Fallback) ValidateBlockV2

func (f *Fallback) ValidateBlockV2(ctx context.Context, block *types.BuilderBlockValidationRequest) (err error)

type Metrics

type Metrics struct {
	ServedFrom *prometheus.CounterVec
}

Jump to

Keyboard shortcuts

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