Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "dapr"
)
Variables ¶
This section is empty.
Functions ¶
func FakeConnection ¶
func FakeConnection() (connection.Connection, func())
func FakeNewConnection ¶
func FakeNewConnection(ctx context.Context, config interface{}) (connection.Connection, error)
Returns a fake client for dapr.
func NewConnection ¶
func NewConnection(_ context.Context, config interface{}) (connection.Connection, error)
Returns a new client for dapr.
Types ¶
type ClientConfig ¶
type ClientConfig struct { // Name of the component to be used for pub sub messaging Component string `json:"component"` }
type Dapr ¶
type Dapr struct {
// contains filtered or unexported fields
}
Dapr represents driver for interacting with pub sub using dapr.
func (*Dapr) CloseConnection ¶
Click to show internal directories.
Click to hide internal directories.