Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InboundMessageHandler ¶
InboundMessageHandler handles the inbound requests. The transport will unpack the payload prior to the message handle invocation.
type InboundTransport ¶
type InboundTransport interface { // starts the inbound transport Start(prov Provider) error // stops the inbound transport Stop() error // returns the endpoint Endpoint() string }
InboundTransport interface definition for inbound transport layer.
type OutboundTransport ¶
type OutboundTransport interface { // starts the outbound transport Start(prov Provider) error // Send send a2a exchange data Send(data []byte, destination *service.Destination) (string, error) // AcceptRecipient checks if there is a connection for the list of recipient keys. The framework executes this // function before Accept() in outbound message dispatcher. AcceptRecipient([]string) bool // Accept url Accept(string) bool }
OutboundTransport interface definition for transport layer This is the client side of the agent.
Click to show internal directories.
Click to hide internal directories.