config

package
v0.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterruptListener

func InterruptListener()

func SetTestFlags

func SetTestFlags()

func SetTestParams

func SetTestParams()

Types

type Flags

type Flags struct {
	DataPath      string
	NetworkName   string
	Port          string
	RPCProxy      bool
	RPCProxyPort  string
	RPCProxyAddr  string
	RPCPort       string
	RPCWallet     bool
	RPCKeystore   bool
	RPCAuthToken  string
	Debug         bool
	LogFile       bool
	Dashboard     bool
	DashboardPort string
}
var GlobalFlags *Flags

type Params

type Params struct {
	Logger     logger.Logger
	NetParams  *params.ChainParams
	InitParams *initialization.InitializationParameters
	Context    context.Context
}
var GlobalParams *Params

Jump to

Keyboard shortcuts

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