Skip to content
Dapr SDK for Golang
Go
Branch: master
Clone or download
shalabhms Merge pull request #11 from dapr/proto
Updating protobuf file and fixing the example sample.
Latest commit 48249cd Jan 21, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github remove template areas Oct 14, 2019
dapr Updating protobuf file and fixing the example sample. Jan 19, 2020
daprclient initial commit Oct 11, 2019
example Updating protobuf file and fixing the example sample. Jan 19, 2020
.gitignore Initial commit Oct 10, 2019
CONTRIBUTING.md Adding contribution guidance to go sdk repo Oct 16, 2019
LICENSE Initial commit Oct 10, 2019
Readme.md Update Readme.md Oct 14, 2019
go.mod add go mod Oct 11, 2019
go.sum add go mod Oct 11, 2019

Readme.md

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

You can’t perform that action at this time.