fabricsetup

package
v0.0.0-...-1340fc4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chaincode

type Chaincode struct {
	Name       string   //`chaincode:"name"`
	Linkingkey string   //`chaincode:"linkingKey"`
	Values     []string //`chaincode:"values"`
}

type FabricSetup

type FabricSetup struct {
	ConfigFile string

	OrgName              string
	Peer                 string
	MspClient            *msp.Client
	AdminCertPath        string
	AdminKeyPath         string
	AdminIdentity        providerMSP.SigningIdentity
	ResClient            *resmgmt.Client
	LedgerClients        []*ledger.Client
	Channels             map[*ledger.Client]string
	SDK                  *fabsdk.FabricSDK
	Chaincodes           []Chaincode
	ElasticURL           string
	KibanaURL            string
	DashboardDirectory   string
	TemplateDirectory    string
	BlockIndexName       string
	TransactionIndexName string
	KeyIndexName         string
	// contains filtered or unexported fields
}

Fabric, Elasticsearch and Kibana specific setup

func (*FabricSetup) CloseSDK

func (setup *FabricSetup) CloseSDK()

Closes SDK

func (*FabricSetup) Initialize

func (setup *FabricSetup) Initialize() error

Initialize reads the configuration file and sets up FabricSetup

Jump to

Keyboard shortcuts

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