list

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: GPL-3.0, GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelChaincode

func DelChaincode(cid string, ccName string, version string) error

func GetAllChaincode added in v1.0.1

func GetAllChaincode(cid string) *chain

func GetChaincodeList

func GetChaincodeList(cid string) (*chain, error)

func SetChaincode

func SetChaincode(cid string, version int, chaincode *CCInfo) error

Types

type CCInfo

type CCInfo struct {
	Id        []byte
	Name      string
	Path      string
	Version   string
	TempleId  []byte
	SysCC     bool
	Language  string
	IsExpired bool
	Address   string
}

func GetChaincode

func GetChaincode(cid string, deployId []byte, version string) (*CCInfo, error)

Jump to

Keyboard shortcuts

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