config

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0, BSD-2-Clause Imports: 10 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 GetToken added in v0.3.0

func GetToken() string

func Init added in v0.2.0

func Init(rootCmd *cobra.Command)

func L1APIAddress added in v0.3.0

func L1APIAddress() string

func L1Client added in v0.3.0

func L1Client() l1connection.Client

func L1FaucetAddress added in v0.3.0

func L1FaucetAddress() string

func L1INXAddress added in v0.3.0

func L1INXAddress() string

func Read

func Read()

func Set

func Set(key string, value interface{})

func SetToken added in v0.3.0

func SetToken(token string)

func WaspAPI added in v0.2.0

func WaspAPI(i ...int) string

func WaspClient

func WaspClient(i ...int) *client.WaspClient

func WaspNanomsg

func WaspNanomsg(i ...int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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