file

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chaincode

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

Chaincode is the chaincode that stores files in DCAS

func New

func New(name string) *Chaincode

New returns a new example chaincode instance

func (*Chaincode) Chaincode

func (cc *Chaincode) Chaincode() shim.Chaincode

Chaincode returns this chaincode

func (*Chaincode) GetDBArtifacts

func (cc *Chaincode) GetDBArtifacts([]string) map[string]*ccapi.DBArtifacts

GetDBArtifacts returns Couch DB indexes (if applicable)

func (*Chaincode) Init

Init is not used

func (*Chaincode) Invoke

func (cc *Chaincode) Invoke(stub shim.ChaincodeStubInterface) pb.Response

Invoke not implemented

func (*Chaincode) Name

func (cc *Chaincode) Name() string

Name returns the name of this chaincode

func (*Chaincode) Version

func (cc *Chaincode) Version() string

Version returns the version of the chaincode

Jump to

Keyboard shortcuts

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