teztnets

package
v0.0.0-...-a9dd475 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer

type Indexer struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

Indexer -

type Info

type Info map[string]NetworkInfo

Info -

type NetworkInfo

type NetworkInfo struct {
	Aliases            []string  `json:"aliases"`
	Category           string    `json:"category"`
	ChainName          string    `json:"chain_name"`
	Description        string    `json:"description"`
	DockerBuild        string    `json:"docker_build"`
	FaucetURL          string    `json:"faucet_url"`
	GitRef             string    `json:"git_ref"`
	HumanName          string    `json:"human_name"`
	Indexers           []Indexer `json:"indexers"`
	LastBakingDaemon   string    `json:"last_baking_daemon"`
	MaskedFromMainPage bool      `json:"masked_from_main_page"`
	NetworkURL         string    `json:"network_url"`
	RPCURL             string    `json:"rpc_url"`
	RPCUrls            []string  `json:"rpc_urls"`
	ActivatedOn        string    `json:"activated_on"`
}

NetworkInfo -

type RPC

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

RPC -

func New

func New(baseURL string) (*RPC, error)

New -

func (*RPC) Teztnets

func (rpc *RPC) Teztnets(ctx context.Context) (info Info, err error)

Teztnets -

Jump to

Keyboard shortcuts

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