Dapr SDK for go
Go to file
Mark Chmarny 05a6fd2940 auth support for when DAPR_API_TOKEN env is defined 2020-06-12 16:03:42 -07:00
bin v0.8 upgrade, proto update fixed, readme sync 2020-06-12 14:29:20 -07:00
client auth support for when DAPR_API_TOKEN env is defined 2020-06-12 16:03:42 -07:00
dapr/proto v0.8 upgrade, proto update fixed, readme sync 2020-06-12 14:29:20 -07:00
example auth support for when DAPR_API_TOKEN env is defined 2020-06-12 16:03:42 -07:00
.gitignore v0.8 upgrade, proto update fixed, readme sync 2020-06-12 14:29:20 -07:00
CONTRIBUTING.md Adding contribution guidance to go sdk repo 2019-10-15 17:58:08 -07:00
LICENSE Initial commit 2019-10-10 09:48:33 -07:00
Readme.md v0.8 upgrade, proto update fixed, readme sync 2020-06-12 14:29:20 -07:00
go.mod mod tidy, go version 1.14 2020-06-12 14:38:45 -07:00
go.sum mod tidy, go version 1.14 2020-06-12 14:38:45 -07:00

Readme.md

dapr SDK for Go

This is the dapr SDK (client) for Go.

Installation

go get github.com/dapr/go-sdk

Usage

The example folder contains a Dapr enabled serving app a client app that uses this SDK to invoke dapr API for state and events, serving app for service to service invocation, and a simple HTTP binding to illustrate output binding. To run the example:

  1. Start the serving app in the example/serving directory
cd example/serving
dapr run --app-id serving --protocol grpc --app-port 4000 go run main.go
  1. Start the client app in the example/client directory
cd example/client
dapr run --app-id caller go run main.go --components-path ./components