config

package
v0.0.0-...-716e23e Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Server    Server    `json:"server"`
	Mongo     Mongo     `json:"mongo"`
	Webwallet Webwallet `json:"webwallet"`
}

func Get

func Get() *Config

type Mongo

type Mongo struct {
	Address  string `json:"address"`
	Database string `json:"database"`
}

type Satellite

type Satellite struct {
	Image   string            `json:"image"`
	Command []string          `json:"command"`
	RpcPort string            `json:"rpcPort"`
	Labels  map[string]string `json:"labels"`
}

type Server

type Server struct {
	Address        string `json:"address"`
	StaticLocation string `json:"staticLocation"`
}

type Watcher

type Watcher struct {
	TickSeconds time.Duration `json:"tickSeconds"`
}

type Webwallet

type Webwallet struct {
	Network          string    `json:"network"`
	InternalResolver bool      `json:"internalResolver"`
	Satellite        Satellite `json:"satellite"`
	Watcher          Watcher   `json:"watcher"`
}

Jump to

Keyboard shortcuts

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