config

package
v0.0.0-...-ddb1edc Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	WorkingDir         string
	BreezServer        string `long:"breezserver"`
	BreezServerNoTLS   bool   `long:"breezservernotls"`
	LspToken           string `long:"lsptoken"`
	SwapperPubkey      string `long:"swapperpubkey"`
	Network            string `long:"network"`
	GrpcKeepAlive      bool   `long:"grpckeepalive"`
	BootstrapURL       string `long:"bootstrap"`
	ClosedChannelsURL  string `long:"closedchannelsurl"`
	BugReportURL       string `long:"bugreporturl"`
	BugReportURLSecret string `long:"bugreporturlsecret"`
	TxSpentURL         string `long:"txspenturl"`

	//Job Options
	JobCfg JobConfig `group:"Job Options"`
}

Config holds the breez configuration

func GetConfig

func GetConfig(workingDir string) (*Config, error)

GetConfig returns the config object

type JobConfig

type JobConfig struct {
	ConnectedPeers     []string `long:"peer"`
	AssertFilterHeader string   `long:"assertfilterheader"`
	DisableRest        bool     `long:"disablerest"`
}

JobConfig hodls the job configuration

Jump to

Keyboard shortcuts

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