apimiddleware

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeaconEndpointFactory

type BeaconEndpointFactory struct {
}

BeaconEndpointFactory creates endpoints used for running beacon chain API calls through the API Middleware.

func (*BeaconEndpointFactory) Create

Create returns a new endpoint for the provided API path.

func (*BeaconEndpointFactory) IsNil

func (f *BeaconEndpointFactory) IsNil() bool

func (*BeaconEndpointFactory) Paths

func (f *BeaconEndpointFactory) Paths() []string

Paths is a collection of all valid beacon chain API paths.

type EpochParticipation

type EpochParticipation []string

EpochParticipation represents participation of validators in their duties.

func (*EpochParticipation) UnmarshalJSON

func (p *EpochParticipation) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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