Skip to content

leepeiliang/go-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dapr SDK for Go

This is the Dapr SDK for Go, based on the auto-generated proto client. For more info on Dapr and gRPC, visit this link.

Installation

go get github.com/dapr/go-sdk

Usage

The example folder contains a Dapr enabled app that receives events (client), and a caller that invokes the Dapr API (caller).

  1. Run the client
cd example/client
dapr run --app-id client --protocol grpc --app-port 4000 go run main.go
  1. Run the caller
cd example/caller
dapr run --app-id caller go run main.go

Note: If you don't setup a Dapr binding, expect the error message rpc error: code = Unknown desc = ERR_INVOKE_OUTPUT_BINDING: couldn't find output binding storage

About

Dapr SDK for go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.4%
  • Makefile 0.6%