Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FabricSetup ¶
type FabricSetup struct { ConfigFile string OrgID string OrdererID string ChannelID string ChainCodeID string ChannelConfig string ChaincodeGoPath string ChaincodePath string OrgAdmin string OrgName string UserName string // contains filtered or unexported fields }
FabricSetup implementation
func (*FabricSetup) CloseSDK ¶
func (setup *FabricSetup) CloseSDK()
func (*FabricSetup) Initialize ¶
func (setup *FabricSetup) Initialize() error
Initialize reads the configuration file and sets up the client, chain and event hub
func (*FabricSetup) InstallAndInstantiateCC ¶
func (setup *FabricSetup) InstallAndInstantiateCC() error
func (*FabricSetup) InvokeHello ¶
func (setup *FabricSetup) InvokeHello(value string) (string, error)
InvokeHello
func (*FabricSetup) QueryHello ¶
func (setup *FabricSetup) QueryHello() (string, error)
QueryHello query the chaincode to get the state of hello
Click to show internal directories.
Click to hide internal directories.