Documentation ¶
Index ¶
- Constants
- func ArgsToStrings(args [][]byte) []string
- func CreateSIMAttestationParams() *sgx.AttestationParams
- type ChaincodeInput
- type ChannelClient
- type ChannelContract
- func (c *ChannelContract) CreateTransaction(name string, peerEndpoints ...string) (fpc.Transaction, error)
- func (c *ChannelContract) EvaluateTransaction(name string, args ...string) ([]byte, error)
- func (c *ChannelContract) Name() string
- func (c *ChannelContract) SubmitTransaction(name string, args ...string) ([]byte, error)
- type ChannelProvider
- type ChannelTransaction
- type Connection
- type Extension
Constants ¶
View Source
const ( SGX_MODE_HW = "HW" SGX_MODE_SIM = "SIM" )
Variables ¶
This section is empty.
Functions ¶
func ArgsToStrings ¶
func CreateSIMAttestationParams ¶
func CreateSIMAttestationParams() *sgx.AttestationParams
Types ¶
type ChaincodeInput ¶
type ChaincodeInput struct {
Args []string `json:"Args"`
}
type ChannelClient ¶
type ChannelClient struct {
// contains filtered or unexported fields
}
type ChannelContract ¶
type ChannelContract struct { Network *network.Network ChaincodeID string Channel string CC *topology.ChannelChaincode }
func (*ChannelContract) CreateTransaction ¶
func (c *ChannelContract) CreateTransaction(name string, peerEndpoints ...string) (fpc.Transaction, error)
func (*ChannelContract) EvaluateTransaction ¶
func (c *ChannelContract) EvaluateTransaction(name string, args ...string) ([]byte, error)
func (*ChannelContract) Name ¶
func (c *ChannelContract) Name() string
func (*ChannelContract) SubmitTransaction ¶
func (c *ChannelContract) SubmitTransaction(name string, args ...string) ([]byte, error)
type ChannelProvider ¶
type ChannelProvider struct { Network *network.Network CC *topology.ChannelChaincode }
func (*ChannelProvider) GetContract ¶
func (c *ChannelProvider) GetContract(id string) fpc.Contract
type ChannelTransaction ¶
type Connection ¶
type Extension ¶
type Extension struct { FPCERCC *topology.ChannelChaincode // contains filtered or unexported fields }
func NewExtension ¶
func (*Extension) CheckTopology ¶
func (n *Extension) CheckTopology()
func (*Extension) GenerateArtifacts ¶
func (n *Extension) GenerateArtifacts()
Click to show internal directories.
Click to hide internal directories.