config

package
v4.8.11+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: AGPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfigFile

func LoadConfigFile(configFile string, config *Config) error

Types

type Config

type Config struct {
	NodeIP     string        `json:"node_ip"`
	RewardConf *RewardConfig `json:"reward_config"`
}

type NodeConfig

type NodeConfig struct {
	XPub    string `json:"xpub"`
	Address string `json:"address"`
}

type RewardConfig

type RewardConfig struct {
	Node      []NodeConfig `json:"node"`
	AccountID string       `json:"account_id"`
	Password  string       `json:"password"`
}

Jump to

Keyboard shortcuts

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