Codebase list golang-github-go-kit-kit / 3ccdef3
sd: gofmt -s -w Peter Bourgon 7 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
5353
5454 // Load some records and lookup again
5555 records = []*net.SRV{
56 &net.SRV{Target: "1.0.0.1", Port: 1001},
57 &net.SRV{Target: "1.0.0.2", Port: 1002},
58 &net.SRV{Target: "1.0.0.3", Port: 1003},
56 {Target: "1.0.0.1", Port: 1001},
57 {Target: "1.0.0.2", Port: 1002},
58 {Target: "1.0.0.3", Port: 1003},
5959 }
6060 tickc <- time.Now()
6161
267267 Dir: true,
268268 Value: "nodevalue",
269269 Nodes: []*etcd.Node{
270 &etcd.Node{
270 {
271271 Key: "childnode1",
272272 Dir: false,
273273 Value: "childvalue1",
277277 Expiration: nil,
278278 TTL: 0,
279279 },
280 &etcd.Node{
280 {
281281 Key: "childnode2",
282282 Dir: false,
283283 Value: "childvalue2",