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.
Click to show internal directories.
Click to hide internal directories.