dapr

package
v0.0.1-202202071453 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ContentTypeJson = "application/json"

Variables

This section is empty.

Functions

func Invoke

func Invoke(daprClient client.Client, appId, methodName string, data interface{}) ([]byte, error)

Invoke 需要传入daprClient去调用

func InvokeOnce

func InvokeOnce(appId, methodName string, data interface{}) ([]byte, error)

InvokeOnce 调用一次

func Reply

func Reply(event *common.InvocationEvent, resp interface{}) *common.Content

Reply dapr reply

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL