settings

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFullCommandName

func GetFullCommandName(flag cli.Flag) string

Types

type Settings

type Settings struct {
	// contains filtered or unexported fields
}

func NewSettings

func NewSettings() *Settings

func (*Settings) Add

func (s *Settings) Add(item *settingItem)

func (*Settings) Config

func (s *Settings) Config() *config.Configuration

Config return the loaded config parameters to running the ELA node.

func (*Settings) Flags

func (s *Settings) Flags() []cli.Flag

func (*Settings) InitParamsValue

func (s *Settings) InitParamsValue()

func (*Settings) Params

func (s *Settings) Params() *config.Params

Params return a pointer to the parameters specific to the currently active ELA network.

func (*Settings) SetContext

func (s *Settings) SetContext(c *cli.Context)

func (*Settings) SetupConfig

func (s *Settings) SetupConfig()

Jump to

Keyboard shortcuts

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