Skip to content

Commit aebdb62

Browse files
dmitshyaron2
andauthored
minor reorg of 'examples' folder (#178)
Co-authored-by: Yaron Schneider <[email protected]>
1 parent d454938 commit aebdb62

File tree

13 files changed

+15
-3
lines changed

13 files changed

+15
-3
lines changed

examples/server/pubsub/README.md renamed to examples/pubsub/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dapr run --app-id sub \
2020
--app-port 8080 \
2121
--dapr-http-port 3500 \
2222
--log-level debug \
23-
--components-path ../config \
23+
--components-path ./config \
2424
go run sub/sub.go
2525
```
2626

@@ -31,7 +31,7 @@ export DAPR_PUBSUB_NAME=messages
3131

3232
dapr run --app-id pub \
3333
--log-level debug \
34-
--components-path ../config \
34+
--components-path ./config \
3535
go run pub/pub.go
3636
```
3737

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

examples/server/Readme.md renamed to examples/service/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dapr Go client example
22

3-
The `example` folder contains a Dapr enabled `serving` app and a `client` app that uses this SDK to invoke Dapr API for state and events, The `serving` app is available as HTTP or gRPC. The `client` app can target either one of these for service to service and binding invocations.
3+
The `examples/service` folder contains a Dapr enabled `serving` app and a `client` app that uses this SDK to invoke Dapr API for state and events, The `serving` app is available as HTTP or gRPC. The `client` app can target either one of these for service to service and binding invocations.
44

55
To run this example, start by first launching the service in either HTTP or gRPC:
66

File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: dapr.io/v1alpha1
2+
kind: Component
3+
metadata:
4+
name: messages
5+
spec:
6+
type: pubsub.redis
7+
version: v1
8+
metadata:
9+
- name: redisHost
10+
value: localhost:6379
11+
- name: redisPassword
12+
value: ""

0 commit comments

Comments
 (0)