updates

package
v0.118.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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

func NewAPI

func NewAPI(ensService *ens.Service) *API

func (*API) Check

func (api *API) Check(ctx context.Context, chainID uint64, ens string, currentVersion string)

type Service

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

func NewService

func NewService(ensService *ens.Service) *Service

NewService initializes service instance.

func (*Service) APIs

func (s *Service) APIs() []ethRpc.API

APIs returns list of available RPC APIs.

func (*Service) Protocols

func (s *Service) Protocols() []p2p.Protocol

Protocols returns list of p2p protocols.

func (*Service) Start

func (s *Service) Start() error

Start a service.

func (*Service) Stop

func (s *Service) Stop() error

Stop a service.

Jump to

Keyboard shortcuts

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