node

package
v0.0.0-...-1ac23cf Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Address   string       `json:"address"`
	Provider  string       `json:"provider"`
	Price     common.Coins `json:"price"`
	RemoteURL string       `json:"remote_url"`
	Status    string       `json:"status"`
	StatusAt  time.Time    `json:"status_at"`
}

func NewNodeFromRaw

func NewNodeFromRaw(item *nodetypes.Node) Node

type Nodes

type Nodes []Node

func NewNodesFromRaw

func NewNodesFromRaw(items nodetypes.Nodes) Nodes

Jump to

Keyboard shortcuts

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