util

package
v0.0.0-...-3386ad1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClients

func CreateClients(conf *Configuration) (map[string]*rpcclient.RPCClient, error)

CreateClients returns a slice of references to RPCClient's.

Types

type Configuration

type Configuration struct {
	Dictionary map[string]interface{}
}

Configuration holds the parsed contents from the configuration file. var Configuration map[string]interface{}

func (*Configuration) LoadConfig

func (conf *Configuration) LoadConfig() error

LoadConfig reads the conf.yaml file. If the RPC_CONFIG_FILE environment variable is set, load the configuration sepecified.

Jump to

Keyboard shortcuts

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