config

package
v0.1.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DataPath string
)

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
	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