mirror of https://github.com/status-im/consul.git
76cf54068b
In a previous PR I made it so that we had interfaces that would work enough to allow blockingQueries to work. However to complete this we need all fields to be settable and gettable. Notes: • If Go ever gets contracts/generics then we could get rid of all the Getters/Setters • protoc / protoc-gen-gogo are going to generate all the getters for us. • I copied all the getters/setters from the protobuf funcs into agent/structs/protobuf_compat.go • Also added JSON marshaling funcs that use jsonpb for protobuf types. |
||
---|---|---|
.. | ||
cloud.google.com/go | ||
github.com | ||
golang.org/x | ||
google.golang.org | ||
gopkg.in | ||
k8s.io | ||
modules.txt |