config

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0, BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostKindAPI     = "api"
	HostKindPeering = "peering"
	HostKindNanomsg = "nanomsg"
)

Variables

View Source
var (
	ConfigPath        string
	WaitForCompletion bool
)

Functions

func CommitteeAPI added in v0.2.0

func CommitteeAPI(indices []int) []string

func CommitteeAPIConfigVar added in v0.2.0

func CommitteeAPIConfigVar(i int) string

func CommitteeNanomsg

func CommitteeNanomsg(indices []int) []string

func CommitteeNanomsgConfigVar

func CommitteeNanomsgConfigVar(i int) string

func CommitteePeering

func CommitteePeering(indices []int) []string

func CommitteePeeringConfigVar

func CommitteePeeringConfigVar(i int) string

func FindNodeBy

func FindNodeBy(kind, v string) int

func GetSCAddress

func GetSCAddress(scAlias string) ledgerstate.Address

func GoshimmerAPI added in v0.2.0

func GoshimmerAPI() string

func GoshimmerAPIConfigVar added in v0.2.0

func GoshimmerAPIConfigVar() string

func GoshimmerClient

func GoshimmerClient() *goshimmer.Client

func GoshimmerFaucetPoWTarget added in v0.2.0

func GoshimmerFaucetPoWTarget() int

func Init added in v0.2.0

func Init(rootCmd *cobra.Command)

func Read

func Read()

func Set

func Set(key string, value interface{})

func TrySCAddress

func TrySCAddress(scAlias string) ledgerstate.Address

func WaspAPI added in v0.2.0

func WaspAPI() string

func WaspClient

func WaspClient() *client.WaspClient

func WaspNanomsg

func WaspNanomsg() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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