Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppResponse ¶
type AppResponse struct { Data interface{} `json:"data"` To []string `json:"to"` State []state.SetRequest `json:"state"` Concurrency string `json:"concurrency"` }
AppResponse is the object describing the response from user code after a bindings event
type InputBinding ¶
type InputBinding interface { // Init passes connection and properties metadata to the binding implementation Init(metadata Metadata) error // Read is a blocking method that triggers the callback function whenever an event arrives Read(handler func(*ReadResponse) error) error }
InputBinding is the interface to define a binding that triggers on incoming events
type OutputBinding ¶
type OutputBinding interface { Init(metadata Metadata) error Write(req *WriteRequest) error }
OutputBinding is the interface for an output binding, allowing users to invoke remote systems with optional payloads
type ReadResponse ¶
ReadResponse is an the return object from an dapr input binding
type WriteRequest ¶
WriteRequest is the object given to an dapr output binding
Click to show internal directories.
Click to hide internal directories.