checker

package
v0.0.0-...-868bdbc Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BTC

type BTC struct {
	// contains filtered or unexported fields
}

BTC represents checker for bitcoin.

func (*BTC) Check

func (b *BTC) Check() bool

Check reports whether BTC network is available for processing.

type Checker

type Checker interface {
	Check() bool
}

Checker checks availability of asset network

type ETH

type ETH struct {
	// contains filtered or unexported fields
}

ETH represents checker for Ethereum.

func (*ETH) Check

func (e *ETH) Check() bool

Check reports whether ETH network is available for processing.

type HBTC

type HBTC struct {
	// contains filtered or unexported fields
}

HBTC represents checker for HBTC.

func (*HBTC) Check

func (hbtc *HBTC) Check() bool

type HER

type HER struct{}

HER represents checker for Herdius.

func (*HER) Check

func (h *HER) Check() bool

Check reports whether Herdius network is available for processing.

type HLTC

type HLTC struct {
	// contains filtered or unexported fields
}

HLTC represents checker for HLTC.

func (*HLTC) Check

func (hltc *HLTC) Check() bool

type HXTZ

type HXTZ struct {
	// contains filtered or unexported fields
}

HXTZ represents checker for HTZX.

func (*HXTZ) Check

func (htzx *HXTZ) Check() bool

type LTC

type LTC struct {
	// contains filtered or unexported fields
}

LTC represents checker for lite coin.

func (*LTC) Check

func (l *LTC) Check() bool

type Network

type Network struct {
	// contains filtered or unexported fields
}

func New

func New(env string) *Network

New returns new Checker for given asset.

func (*Network) Check

func (n *Network) Check(asset string) bool

type XTZ

type XTZ struct {
	// contains filtered or unexported fields
}

XTZ represents checker for Tezos.

func (*XTZ) Check

func (tzx *XTZ) Check() bool

Jump to

Keyboard shortcuts

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