app

package
v0.0.0-...-ae2d2d9 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider (app.Provider) contains the identity info & app running stubs

func New

func New(channelID, orgID, orgUser, chaincodeID, configPath, cryptoPath string) (p *Provider, err error)

New creates a new app.Provider instance & check the identity

func (Provider) Invoke

func (ap Provider) Invoke(ccFunction string, args []string) (resp string, err error)

Invoke connects to the channel, makes up a transaction request, and handles the response

Jump to

Keyboard shortcuts

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