chaincode

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Topology

func Topology() []api.Topology

Types

type Client

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

func NewClient

func NewClient(c ViewClient, id view.Identity) *Client

func (*Client) EventsView

func (c *Client) EventsView(chaincodeFunction string, eventName string) (interface{}, error)

func (*Client) MultipleEventsView

func (c *Client) MultipleEventsView(chaincodeFunctions []string, eventCount uint8) (interface{}, error)

type ViewClient

type ViewClient interface {
	CallView(fid string, in []byte) (interface{}, error)
	IsTxFinal(txid string, opts ...api.ServiceOption) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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