chain

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = NewBridgeChain()

Functions

This section is empty.

Types

type BridgeChain

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

BridgeChain is a bridger that supports multiple crossing of bridger.

func NewBridgeChain

func NewBridgeChain() *BridgeChain

NewBridgeChain create a new BridgeChain.

func (*BridgeChain) BridgeChain

func (b *BridgeChain) BridgeChain(dialer bridge.Dialer, addresses ...string) (bridge.Dialer, bridge.ListenConfig, error)

BridgeChain is multiple crossing of bridge.

func (*BridgeChain) Register

func (b *BridgeChain) Register(name string, bridger bridge.Bridger) error

Register is register a new bridger for BridgeChain.

Jump to

Keyboard shortcuts

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