config

package
v0.0.0-...-b9de96a Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 13 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
	Debug         bool
	LogFile       bool
	Dashboard     bool
	DashboardPort string

	HTTPHost         string
	HTTPPort         int
	HTTPCors         []string
	HTTPVirtualHosts []string
	HTTPModules      []string
	HTTPTimeouts     rpc.HTTPTimeouts
	HTTPPathPrefix   string

	WSHost       string
	WSPort       int
	WSPathPrefix string
	WSOrigins    []string
	WSModules    []string
	WSExposeAll  bool
}
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