configs

package
v1.7.13 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: GPL-3.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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