Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TransportReturnRouteNone return route option none TransportReturnRouteNone = "none" // TransportReturnRouteAll return route option all TransportReturnRouteAll = "all" // TransportReturnRouteThread return route option thread TransportReturnRouteThread = "thread" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReturnRoute ¶ added in v0.1.1
type ReturnRoute struct {
Value string `json:"~return_route,omitempty"`
}
ReturnRoute works with Transport decorator. Acceptable values - "none", "all" or "thread".
type Thread ¶
type Thread struct { ID string `json:"thid,omitempty"` PID string `json:"pthid,omitempty"` SenderOrder int `json:"sender_order,omitempty"` ReceivedOrders map[string]int `json:"received_orders,omitempty"` }
Thread thread data
type Transport ¶ added in v0.1.1
type Transport struct {
ReturnRoute *ReturnRoute `json:"~transport,omitempty"`
}
Transport transport decorator https://github.com/hyperledger/aries-rfcs/tree/master/features/0092-transport-return-route
Click to show internal directories.
Click to hide internal directories.