Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request interface {
ID() uint64
GetResponse(context context.Context) (*Response, error)
Cancel()
}
Request is an interface to get the response
type RequestMgr ¶
RequestMgr is an interface to create a new request and to respond to the request
type Response ¶
type Response struct {
Endpoint string // The endpoint of the peer that sent the response
MSPID string // The MSP ID of the peer that sent the response
Signature []byte // The signature of the peer that provided the data
Identity []byte // The identity of the peer that sent the response
Data Elements // The transient data
}
Response is the response from a remote peer for a collection of transient data keys
Click to show internal directories.
Click to hide internal directories.