apimiddleware

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 16 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

func (f *BeaconEndpointFactory) Create(path string) (*gateway.Endpoint, error)

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.

Jump to

Keyboard shortcuts

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