add shorturl example code
This commit is contained in:
12
example/shorturl/rpc/transform/etc/transform.yaml
Executable file
12
example/shorturl/rpc/transform/etc/transform.yaml
Executable file
@@ -0,0 +1,12 @@
|
||||
Name: transform.rpc
|
||||
Log:
|
||||
Mode: console
|
||||
ListenOn: 127.0.0.1:8081
|
||||
Etcd:
|
||||
Hosts:
|
||||
- 127.0.0.1:2379
|
||||
Key: transform.rpc
|
||||
DataSource: root:@tcp(localhost:3306)/gozero
|
||||
Table: shorturl
|
||||
Cache:
|
||||
- Host: localhost:6379
|
||||
Reference in New Issue
Block a user