pkg

package
v0.0.0-...-8797295 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitcoinDownload

func BitcoinDownload()

Types

type Binary

type Binary struct {
	Name     string     `json:"name"`
	Symbol   string     `json:"symbol"`
	Download []Download `json:"download"`
}

type Cryptocurrency

type Cryptocurrency struct {
	ID           int    `storm:"id,increment"`
	Name         string `storm:"index"`
	Symbol       string `storm:"unique"`
	FolderBin    string
	FolderData   string
	DaemonConfig []PortConfig
}

func NewCryptocurrency

func NewCryptocurrency(symbol string) *Cryptocurrency

func (*Cryptocurrency) CreateConfig

func (c *Cryptocurrency) CreateConfig()

func (*Cryptocurrency) SetConfigs

func (c *Cryptocurrency) SetConfigs()

func (*Cryptocurrency) SetFolders

func (c *Cryptocurrency) SetFolders()

type Download

type Download struct {
	Platform string `json:"platform"`
	P64      string `json:"64"`
	P32      string `json:"32"`
	PARM     string `json:"arm"`
}

type LastPort

type LastPort struct {
	ID         int
	PortNumber uint16
}

type Port

type Port struct {
	Type       string
	PortNumber uint16
}

The minimum numbers of ports for each daemon are 4 2 Daemon and 2 RPC

type PortConfig

type PortConfig struct {
	Name       string
	PortNumber []Port
}

Jump to

Keyboard shortcuts

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