gateway

package
v0.0.0-...-89a1428 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Gateway

type Gateway struct {
	Type GatewayType
}

func (*Gateway) Init

func (gw *Gateway) Init(ctx contract.Context, req *InitRequest) error

func (*Gateway) Meta

func (gw *Gateway) Meta() (plugin.Meta, error)

type GatewayType

type GatewayType int
const (
	EthereumGateway GatewayType = 0 // default type
	LoomCoinGateway GatewayType = 1
	TronGateway     GatewayType = 2
	BinanceGateway  GatewayType = 3
)

type UnsafeGateway

type UnsafeGateway struct {
	Gateway
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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