Documentation ¶
Index ¶
- type SetupSDK
- func (s *SetupSDK) AdminSetup() error
- func (s *SetupSDK) ChainCodeInstallationInstantiation() error
- func (s *SetupSDK) ChannelSetup() error
- func (s *SetupSDK) ClientSetup() error
- func (s *SetupSDK) CloseSDK()
- func (s *SetupSDK) DeleteEntrySDK(ID string) (string, error)
- func (s *SetupSDK) InitEntrySDK(ID string, Hash string, Application string, NodeIP string, Owner string, ...) (string, error)
- func (s *SetupSDK) Initialization() error
- func (s *SetupSDK) ReadEntrySDK(ID string) (string, error)
- func (s *SetupSDK) SearchByOwnerSDK(Owner string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetupSDK ¶
type SetupSDK struct { ConfigFile string OrgID string OrdererID string ChannelID string ChainCodeID string ChannelConfig string ChaincodeGoPath string ChaincodePath string OrgAdmin string OrgName string UserName string MgmtIdentity msp.SigningIdentity // contains filtered or unexported fields }
FabricSetup implementation
func (*SetupSDK) AdminSetup ¶
func (*SetupSDK) ChainCodeInstallationInstantiation ¶
installs and instantiates chaincode
func (*SetupSDK) ChannelSetup ¶
func (*SetupSDK) ClientSetup ¶
setup client and setupt access to channel events
func (*SetupSDK) DeleteEntrySDK ¶
delete entry on chaincode using SDK
func (*SetupSDK) InitEntrySDK ¶
func (s *SetupSDK) InitEntrySDK(ID string, Hash string, Application string, NodeIP string, Owner string, Updated string) (string, error)
add entry using SDK
func (*SetupSDK) Initialization ¶
Initialization setups new sdk
func (*SetupSDK) ReadEntrySDK ¶
read entry on chaincode using SDK
Click to show internal directories.
Click to hide internal directories.