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"` StoreName string `json:"storeName"` 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) ([]byte, error)) error }
InputBinding is the interface to define a binding that triggers on incoming events
type InvokeRequest ¶
type InvokeRequest struct { Data []byte `json:"data"` Metadata map[string]string `json:"metadata"` Operation OperationKind `json:"operation"` }
InvokeRequest is the object given to a dapr output binding
type InvokeResponse ¶
type InvokeResponse struct { Data []byte `json:"data"` Metadata map[string]string `json:"metadata"` }
InvokeResponse is the response object returned from an output binding
type OperationKind ¶
type OperationKind string
OperationKind defines an output binding operation
const ( GetOperation OperationKind = "get" CreateOperation OperationKind = "create" DeleteOperation OperationKind = "delete" ListOperation OperationKind = "list" )
Non exhaustive list of operations. A binding can add operations that are not in this list.
type OutputBinding ¶
type OutputBinding interface { Init(metadata Metadata) error Invoke(req *InvokeRequest) (*InvokeResponse, error) Operations() []OperationKind }
OutputBinding is the interface for an output binding, allowing users to invoke remote systems with optional payloads
type ReadResponse ¶
ReadResponse is the return object from an dapr input binding
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
alicloud
|
|
Package apns implements an output binding for Dapr that allows services to send push notifications to Apple devices and Mac computers using Apple's Push Notification Service (APNS).
|
Package apns implements an output binding for Dapr that allows services to send push notifications to Apple devices and Mac computers using Apple's Push Notification Service (APNS). |
aws
|
|
azure
|
|
gcp
|
|
rethinkdb
|
|
twilio
|
|
Click to show internal directories.
Click to hide internal directories.