batch

package
v0.0.0-...-917b3cb Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acceleration

type Acceleration struct {
	Type               string
	ChannelId          string
	ChaincodeName      string
	Fcn                string
	QueueSize          int
	MaxBatchItems      int
	MaxWaitTimeSeconds int64
	MaxBatchBytes      int
	ReadKeyIndices     []int
	WriteKeyIndices    []int
	Encoding           string
	Recovery           bool
}

type Client

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

func New

func New(ctx fabwrap.Context) *Client

func (*Client) Execute

func (s *Client) Execute(channelId, chaincodeName, fcn string, args [][]byte) (*tx.Result, error)

func (*Client) Query

func (s *Client) Query(channelId, chaincodeName, fcn string, args [][]byte) (*tx.Result, error)

func (*Client) Register

func (s *Client) Register(acc *Acceleration) error

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
fab

Jump to

Keyboard shortcuts

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