settings

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SettingLocation = "D:/EnglishRoad/workspace/Go/src/github.com/scryinfo/dp/demo/src/application/sdkinterface/settings/definition.yaml"
)

Variables

This section is empty.

Functions

func LoadSettings

func LoadSettings() (*scryinfo, error)

Types

type Chain

type Chain struct {
	Contracts Contracts `yaml:"contracts"`
	Ethereum  Ethereum  `yaml:"ethereum"`
}

type Contracts

type Contracts struct {
	ProtocolAddr     string `yaml:"protocol_contract_addr"`
	TokenAddr        string `yaml:"token_contract_addr"`
	ProtocolAbiPath  string `yaml:"protocol_contract_abi_path"`
	TokenAbiPath     string `yaml:"token_contract_abi_path"`
	ProtocolEvents   string `yaml:"protocol_contract_events"`
	TokenEvents      string `yaml:"token_contract_events"`
	DeployerKeyJson  string `yaml:"deployer_keyjson"`
	DeployerPassword string `yaml:"deployer_password"`
}

type Ethereum

type Ethereum struct {
	EthNode string `yaml:"node"`
}

type Services

type Services struct {
	Ipfs     string `yaml:"ipfs"`
	Keystore string `yaml:"keystore"`
}

Jump to

Keyboard shortcuts

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