platform

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 31 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Platforms contains all registered platforms by handle
	Platforms map[string]blockatlas.Platform

	// BlockAPIs contain platforms with block services
	BlockAPIs map[string]blockatlas.BlockAPI

	// TokensAPIs contain platforms with token services
	TokensAPIs map[uint]blockatlas.TokensAPI

	// StakeAPIs contain platforms with staking services
	StakeAPIs map[string]blockatlas.StakeAPI

	// CollectionsAPIs contain platforms which collections services
	CollectionsAPIs blockatlas.CollectionsAPIs

	// NamingAPIs contain platforms which support naming services
	NamingAPIs map[uint]blockatlas.NamingServiceAPI
)

Functions

func GetApiVar added in v1.1.0

func GetApiVar(coinId uint) string

func GetHandle added in v1.1.0

func GetHandle(coinId uint) string

func GetRpcVar added in v1.1.0

func GetRpcVar(coinId uint) string

func GetVar added in v1.1.0

func GetVar(name string) string

func Init

func Init(platformHandles []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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