Documentation ¶
Index ¶
- type ConsumerContext
- func (c *ConsumerContext) AddEvent(eventType string, attributes []processor.Attribute, eventData []byte) error
- func (c *ConsumerContext) DeleteState(key string) error
- func (c *ConsumerContext) GetBatchId() string
- func (c *ConsumerContext) GetSigner() string
- func (c *ConsumerContext) GetState(key string) ([]byte, error)
- func (c *ConsumerContext) PutState(key string, value []byte) error
- func (c *ConsumerContext) SetBatchId(batchId string)
- func (c *ConsumerContext) SetSigner(signer string)
- type Context
- type ProviderContext
- func (c *ProviderContext) AddEvent(eventType string, attributes []processor.Attribute, eventData []byte) error
- func (c *ProviderContext) DeleteState(key string) error
- func (c *ProviderContext) GetBatchId() string
- func (c *ProviderContext) GetSigner() string
- func (c *ProviderContext) GetState(key string) ([]byte, error)
- func (c *ProviderContext) PutState(key string, value []byte) error
- type SawtoothRequest
- type SawtoothResponse
- type SmartContract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerContext ¶
type ConsumerContext struct {
// contains filtered or unexported fields
}
func NewConsumerContext ¶
func NewConsumerContext() *ConsumerContext
func (*ConsumerContext) DeleteState ¶
func (c *ConsumerContext) DeleteState(key string) error
func (*ConsumerContext) GetBatchId ¶
func (c *ConsumerContext) GetBatchId() string
func (*ConsumerContext) GetSigner ¶
func (c *ConsumerContext) GetSigner() string
func (*ConsumerContext) PutState ¶
func (c *ConsumerContext) PutState(key string, value []byte) error
func (*ConsumerContext) SetBatchId ¶
func (c *ConsumerContext) SetBatchId(batchId string)
func (*ConsumerContext) SetSigner ¶
func (c *ConsumerContext) SetSigner(signer string)
type ProviderContext ¶
type ProviderContext struct {
// contains filtered or unexported fields
}
func NewProviderContext ¶
func (*ProviderContext) DeleteState ¶
func (c *ProviderContext) DeleteState(key string) error
func (*ProviderContext) GetBatchId ¶
func (c *ProviderContext) GetBatchId() string
func (*ProviderContext) GetSigner ¶
func (c *ProviderContext) GetSigner() string
type SawtoothRequest ¶
type SawtoothResponse ¶
type SmartContract ¶
Click to show internal directories.
Click to hide internal directories.