Documentation
¶
Index ¶
- func CreateCompositeKey(objectType string, attributes []string) (string, error)
- func CreateRangeKeysForPartialCompositeKey(objectType string, attributes []string) (string, string, error)
- func NewProcessorManager(sp view.ServiceProvider, network Network, defaultProcessor driver.Processor) *processorManager
- func SplitCompositeKey(compositeKey string) (string, []string, error)
- type Network
- type RWSExtractor
- type UnpackedEnvelope
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCompositeKey ¶
func NewProcessorManager ¶
func NewProcessorManager(sp view.ServiceProvider, network Network, defaultProcessor driver.Processor) *processorManager
Types ¶
type RWSExtractor ¶
type UnpackedEnvelope ¶
type UnpackedEnvelope struct { NetworkID string TxID string Ch string ChaincodeName string ChaincodeVersion string Input *peer.ChaincodeInput Nonce []byte Creator []byte Results []byte Function string Args []string ChannelHeader *common.ChannelHeader SignatureHeader *common.SignatureHeader ProposalResponses []*peer.ProposalResponse }
TODO: remove this and merge with that in transaction
func UnpackEnvelope ¶
func UnpackEnvelope(networkID string, env *common.Envelope) (*UnpackedEnvelope, error)
func UnpackEnvelopeFromBytes ¶
func UnpackEnvelopeFromBytes(networkID string, raw []byte) (*UnpackedEnvelope, error)
func (*UnpackedEnvelope) Channel ¶
func (u *UnpackedEnvelope) Channel() string
func (*UnpackedEnvelope) FunctionAndParameters ¶
func (u *UnpackedEnvelope) FunctionAndParameters() (string, []string)
func (*UnpackedEnvelope) ID ¶
func (u *UnpackedEnvelope) ID() string
func (*UnpackedEnvelope) Network ¶
func (u *UnpackedEnvelope) Network() string
Click to show internal directories.
Click to hide internal directories.