config

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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