launchnet

package
v0.9.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const AdminPort = "19002"
View Source
const HOST = "http://localhost:"
View Source
const HostDebug = "http://localhost:8001"
View Source
const PublicPort = "19102"
View Source
const TestAdminRPCUrl = "/admin-api/rpc"
View Source
const TestRPCUrl = HOST + AdminPort + TestAdminRPCUrl
View Source
const TestRPCUrlPublic = HOST + PublicPort + "/api/rpc"

Variables

Functions

func GetNodesCount

func GetNodesCount() (int, error)

func Run

func Run(cb func() int) int

Method starts launchnet before execution of callback function (cb) and stops launchnet after. Returns exit code as a result from calling callback function.

Types

type User

type User struct {
	Ref              string
	PrivKey          string
	PubKey           string
	MigrationAddress string
}
var MigrationAdmin User
var Root User

Jump to

Keyboard shortcuts

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