Documentation ¶
Overview ¶
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
* Copyright © 2018. TIBCO Software Inc. * This file is subject to the license terms contained * in the license file that is distributed with this file.
Index ¶
- type HyperledgerFabricContainerService
- type HyperledgerFabricDataService
- func (svc *HyperledgerFabricDataService) DeleteState(assetName string, assetKey string, keyValue map[string]interface{}, ...) ([]byte, error)
- func (svc *HyperledgerFabricDataService) GetHistory(assetName string, assetKey string, keyValue map[string]interface{}) ([][]byte, error)
- func (svc *HyperledgerFabricDataService) GetState(assetName string, assetKey string, keyValue map[string]interface{}) ([]byte, error)
- func (svc *HyperledgerFabricDataService) LookupState(assetName string, assetKey string, lookupKey string, ...) ([][]byte, error)
- func (svc *HyperledgerFabricDataService) PutState(assetName string, assetKey string, assetValue map[string]interface{}, ...) error
- func (svc *HyperledgerFabricDataService) QueryState(queryString string) ([][]byte, error)
- type HyperledgerFabricEventService
- type HyperledgerFabricLogService
- type HyperledgerFabricTransactionService
- func (svc *HyperledgerFabricTransactionService) GetInitiatorCertAttribute(attr string) (value string, found bool, err error)
- func (svc *HyperledgerFabricTransactionService) GetTransactionInitiator() (string, error)
- func (svc *HyperledgerFabricTransactionService) GetTransactionName() string
- func (svc *HyperledgerFabricTransactionService) ResolveTransactionInput(txnInputsMetadata []txn.TxnInputAttribute) (map[string]interface{}, error)
- func (svc *HyperledgerFabricTransactionService) TransactionSecuritySupported() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HyperledgerFabricContainerService ¶
type HyperledgerFabricContainerService struct {
// contains filtered or unexported fields
}
func NewHyperledgerFabricContainerService ¶
func NewHyperledgerFabricContainerService(stub shim.ChaincodeStubInterface, loggerName string) *HyperledgerFabricContainerService
func (*HyperledgerFabricContainerService) GetDataService ¶
func (ctnr *HyperledgerFabricContainerService) GetDataService() services.DataService
func (*HyperledgerFabricContainerService) GetEventService ¶
func (ctnr *HyperledgerFabricContainerService) GetEventService() services.EventService
func (*HyperledgerFabricContainerService) GetLogService ¶
func (ctnr *HyperledgerFabricContainerService) GetLogService() services.LogService
type HyperledgerFabricDataService ¶
type HyperledgerFabricDataService struct {
// contains filtered or unexported fields
}
func NewHyperledgerFabricDataService ¶
func NewHyperledgerFabricDataService(stub shim.ChaincodeStubInterface) *HyperledgerFabricDataService
func (*HyperledgerFabricDataService) DeleteState ¶
func (*HyperledgerFabricDataService) GetHistory ¶
func (*HyperledgerFabricDataService) LookupState ¶
func (*HyperledgerFabricDataService) PutState ¶
func (svc *HyperledgerFabricDataService) PutState(assetName string, assetKey string, assetValue map[string]interface{}, secondaryCompKeys interface{}) error
func (*HyperledgerFabricDataService) QueryState ¶
func (svc *HyperledgerFabricDataService) QueryState(queryString string) ([][]byte, error)
type HyperledgerFabricEventService ¶
type HyperledgerFabricEventService struct {
// contains filtered or unexported fields
}
func NewHyperledgerFabricEventService ¶
func NewHyperledgerFabricEventService(stub shim.ChaincodeStubInterface) *HyperledgerFabricEventService
type HyperledgerFabricLogService ¶
type HyperledgerFabricLogService struct {
// contains filtered or unexported fields
}
func NewHyperledgerFabricLogService ¶
func NewHyperledgerFabricLogService(stub shim.ChaincodeStubInterface, loggerName string) *HyperledgerFabricLogService
func (*HyperledgerFabricLogService) Debug ¶
func (logsvc *HyperledgerFabricLogService) Debug(msg string)
func (*HyperledgerFabricLogService) Error ¶
func (logsvc *HyperledgerFabricLogService) Error(errCode string, msg string, err error)
func (*HyperledgerFabricLogService) Info ¶
func (logsvc *HyperledgerFabricLogService) Info(msg string)
func (*HyperledgerFabricLogService) Warning ¶
func (logsvc *HyperledgerFabricLogService) Warning(msg string)
type HyperledgerFabricTransactionService ¶
type HyperledgerFabricTransactionService struct {
// contains filtered or unexported fields
}
func NewHyperledgerFabricTransactionService ¶
func NewHyperledgerFabricTransactionService(stub shim.ChaincodeStubInterface, args []string, name string, enableSecurity bool) *HyperledgerFabricTransactionService
func (*HyperledgerFabricTransactionService) GetInitiatorCertAttribute ¶
func (svc *HyperledgerFabricTransactionService) GetInitiatorCertAttribute(attr string) (value string, found bool, err error)
func (*HyperledgerFabricTransactionService) GetTransactionInitiator ¶
func (svc *HyperledgerFabricTransactionService) GetTransactionInitiator() (string, error)
func (*HyperledgerFabricTransactionService) GetTransactionName ¶
func (svc *HyperledgerFabricTransactionService) GetTransactionName() string
func (*HyperledgerFabricTransactionService) ResolveTransactionInput ¶
func (svc *HyperledgerFabricTransactionService) ResolveTransactionInput(txnInputsMetadata []txn.TxnInputAttribute) (map[string]interface{}, error)
func (*HyperledgerFabricTransactionService) TransactionSecuritySupported ¶
func (svc *HyperledgerFabricTransactionService) TransactionSecuritySupported() bool