-
Notifications
You must be signed in to change notification settings - Fork 0
/
note
43 lines (30 loc) · 786 Bytes
/
note
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
1. cmdline
$ go run cmdline/main.go
2. env
$ go run env/main.g
3. setAndWrite
$ go run setAndWrite/main.go
4. sliceOfStruct
$ cd sliceOfStruct/
$ go run main.go
$ cd ..
5. unmarshal
$ go run unmarshal/main.go
6. watch
$ go run watch/main.go
7. etcd
a. enable etcd with version2
$ etcd --enable-v2=true
b. install etcdkeeper and open on port 50051
$ etcdkeeper/etcdkeeper -p 50051
c. set config.yml to etcd "/config/config.yml"
d. check app_name
$ go run etcd/main.go
e. run http server on port 8080
$ go run etcd/runtime/main.go
f. change config.yml on etcdkeeper and check the change on http://127.0.0.1:8080/
8 pipelineProtobuf
$ cd pipelineProtobuf/server
$ go run server.go
$ cd pipelineProtobuf/client
$ go run client.go