Documentation
¶
Index ¶
- Constants
- func InvokeService(appId, methodName string, data interface{}) ([]byte, error)
- func InvokeServiceWithClient(daprClient client.Client, appId, methodName string, data interface{}) ([]byte, error)
- func Publish(pubSubName, topic string, data interface{}) error
- func Reply(event *common.InvocationEvent, resp interface{}) *common.Content
Constants ¶
View Source
const ContentTypeJson = "application/json"
Variables ¶
This section is empty.
Functions ¶
func InvokeService ¶
InvokeService 调用dapr服务
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.