configs

package
v1.7.13-patch2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigsFetcher

func NewConfigsFetcher(mxChainNodeRepo, mxChainProxy string, git GitHandler) (*fetcher, error)

NewConfigsFetcher will create a new instance of fetcher

Types

type ArgsOutputConfig

type ArgsOutputConfig struct {
	Config           *config.Config
	PathToTempConfig string
	PathToPemFile    string
}

ArgsOutputConfig holds the output arguments for proxy configs

func CreateProxyConfigs

func CreateProxyConfigs(args ArgsProxyConfigs) (*ArgsOutputConfig, error)

CreateProxyConfigs will create the proxy configs

type ArgsProxyConfigs

type ArgsProxyConfigs struct {
	TemDir            string
	PathToProxyConfig string
	ServerPort        int
	RestApiInterfaces map[uint32]string
	InitialWallets    map[uint32]*dtos.WalletKey
}

ArgsProxyConfigs holds the arguments needed to create the proxy configs

type GitHandler

type GitHandler interface {
	Clone(repoURL, destDir string) error
	Checkout(repoDir string, commitHashOrBranch string) error
}

GitHandler defines what a git handler should be able to do

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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