github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/config/grpc/README.md (about) 1 # gRPC Config Server 2 3 This is an example implementation of a grpc config server 4 5 ## Get Started 6 7 ### Run Server 8 9 ```bash 10 go run srv/main.go 11 ``` 12 13 ### Run Client 14 15 ```bash 16 go run client/main.go 17 ``` 18 19 ### Edit Config 20 21 Change values in srv/conf/micro.yml 22 23 ```bash 24 micro: 25 name: Micro 26 version: 1.0.0 27 message: hello 28 ``` 29 30 to 31 32 ```bash 33 micro: 34 name: Micro 35 version: 1.0.0 36 message: hello john 37 ``` 38 39 The output from watching config after an edit 40 41 ```bash 42 2019/04/28 10:57:15 Watch changes: {"message":"hello john","name":"Micro","version":"1.0.0"} 43 ```