modconfig

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModulesDir          string = "modules"
	ValidatorsDirectory string = "validators"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ModulesConfig

type ModulesConfig struct {
	Stakewise *swconfig.StakewiseConfig
}

Configuration for Hyperdrive modules

func NewModulesConfig

func NewModulesConfig() *ModulesConfig

Generates a new Modules config

func (*ModulesConfig) GetParameters

func (cfg *ModulesConfig) GetParameters() []types.IParameter

Get the parameters for this config

func (*ModulesConfig) GetSubconfigs

func (cfg *ModulesConfig) GetSubconfigs() map[string]types.IConfigSection

Get the sections underneath this one

func (*ModulesConfig) GetTitle

func (cfg *ModulesConfig) GetTitle() string

The the title for the config

func (*ModulesConfig) ModulesDirectory

func (c *ModulesConfig) ModulesDirectory() string

func (*ModulesConfig) ValidatorsDirectory

func (c *ModulesConfig) ValidatorsDirectory() string

Jump to

Keyboard shortcuts

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