├── README.md ├── client ├── cmd │ └── main.go ├── go.mod ├── go.sum ├── internal │ └── consul │ │ └── consul_resolver.go └── proto │ └── helloworld │ └── helloworld.pb.go └── server ├── cmd └── main.go ├── go.mod ├── go.sum ├── internal └── consul │ └── consul_register.go └── proto └── helloworld └── helloworld.pb.go /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/README.md -------------------------------------------------------------------------------- /client/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/client/cmd/main.go -------------------------------------------------------------------------------- /client/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/client/go.mod -------------------------------------------------------------------------------- /client/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/client/go.sum -------------------------------------------------------------------------------- /client/internal/consul/consul_resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/client/internal/consul/consul_resolver.go -------------------------------------------------------------------------------- /client/proto/helloworld/helloworld.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/client/proto/helloworld/helloworld.pb.go -------------------------------------------------------------------------------- /server/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/server/cmd/main.go -------------------------------------------------------------------------------- /server/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/server/go.mod -------------------------------------------------------------------------------- /server/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/server/go.sum -------------------------------------------------------------------------------- /server/internal/consul/consul_register.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/server/internal/consul/consul_register.go -------------------------------------------------------------------------------- /server/proto/helloworld/helloworld.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janlely/consul-go-grpc-demo/HEAD/server/proto/helloworld/helloworld.pb.go --------------------------------------------------------------------------------