Help us shape the future of Go! Take the 2026 Go Developer Survey

e2e

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Broadcast

func Broadcast(n *nwo.Network, o *nwo.Orderer, env *common.Envelope) (*orderer.BroadcastResponse, error)

Broadcast sends given env to Broadcast API of specified orderer.

func CreateBroadcastEnvelope

func CreateBroadcastEnvelope(n *nwo.Network, signer interface{}, channel string, data []byte) *common.Envelope

func CreateDeliverEnvelope

func CreateDeliverEnvelope(n *nwo.Network, entity interface{}, blkNum uint64, channel string) *common.Envelope

CreateDeliverEnvelope creates a deliver env to seek for specified block.

func CreateGRPCClient

func CreateGRPCClient(n *nwo.Network, o *nwo.Orderer) (*comm.GRPCClient, error)

func Deliver

func Deliver(n *nwo.Network, o *nwo.Orderer, env *common.Envelope) (*common.Block, error)

Deliver sends given env to Deliver API of specified orderer.

func FetchBlock

func FetchBlock(n *nwo.Network, o *nwo.Orderer, seq uint64, channel string) *common.Block

Types

This section is empty.

Jump to

Keyboard shortcuts

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