seed

package
v0.0.1-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Apis

type Apis struct {
	RPC  []Provider `json:"rpc"`
	Rest []Provider `json:"rest"`
}

type Provider

type Provider struct {
	Address  string `json:"address"`
	Provider string `json:"provider"`
}

type Seed

type Seed struct {
	Status  string `json:"status"`
	ChainID string `json:"chain_id"`
	APIs    Apis   `json:"apis"`
}

type Updater

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

func New

func New(cfg config.Config, listeners ...chan<- Seed) *Updater

func (*Updater) Start

func (u *Updater) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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