Codebase list golang-github-bsm-redeo / ce247a2
New upstream version 2.0.1 Michael Lustfield 6 years ago
6 changed file(s) with 101 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
0 vendor/
11 services:
22 - redis
33 install:
4 - go get -t ./...
4 - go get -u github.com/golang/dep/cmd/dep
5 - dep ensure -v -vendor-only
56 go:
6 - 1.8
7 - 1.7.4
7 - 1.9
8 - 1.8.3
0 # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
1
2
3 [[projects]]
4 name = "github.com/bsm/pool"
5 packages = ["."]
6 revision = "aef6431197b549db4cc9cbbdc06d9c3dde2996bd"
7 version = "v0.8.0"
8
9 [[projects]]
10 name = "github.com/onsi/ginkgo"
11 packages = [".","config","extensions/table","internal/codelocation","internal/containernode","internal/failer","internal/leafnodes","internal/remote","internal/spec","internal/spec_iterator","internal/specrunner","internal/suite","internal/testingtproxy","internal/writer","reporters","reporters/stenographer","reporters/stenographer/support/go-colorable","reporters/stenographer/support/go-isatty","types"]
12 revision = "9eda700730cba42af70d53180f9dcce9266bc2bc"
13 version = "v1.4.0"
14
15 [[projects]]
16 name = "github.com/onsi/gomega"
17 packages = [".","format","internal/assertion","internal/asyncassertion","internal/oraclematcher","internal/testingtsupport","matchers","matchers/support/goraph/bipartitegraph","matchers/support/goraph/edge","matchers/support/goraph/node","matchers/support/goraph/util","types"]
18 revision = "c893efa28eb45626cdaa76c9f653b62488858837"
19 version = "v1.2.0"
20
21 [[projects]]
22 branch = "master"
23 name = "golang.org/x/net"
24 packages = ["html","html/atom","html/charset"]
25 revision = "8351a756f30f1297fe94bbf4b767ec589c6ea6d0"
26
27 [[projects]]
28 branch = "master"
29 name = "golang.org/x/sys"
30 packages = ["unix"]
31 revision = "b6e1ae21643682ce023deb8d152024597b0e9bb4"
32
33 [[projects]]
34 branch = "master"
35 name = "golang.org/x/text"
36 packages = ["encoding","encoding/charmap","encoding/htmlindex","encoding/internal","encoding/internal/identifier","encoding/japanese","encoding/korean","encoding/simplifiedchinese","encoding/traditionalchinese","encoding/unicode","internal/gen","internal/tag","internal/utf8internal","language","runes","transform","unicode/cldr"]
37 revision = "1cbadb444a806fd9430d14ad08967ed91da4fa0a"
38
39 [[projects]]
40 branch = "v2"
41 name = "gopkg.in/yaml.v2"
42 packages = ["."]
43 revision = "eb3733d160e74a9c7e442f435eb3bea458e1d19f"
44
45 [solve-meta]
46 analyzer-name = "dep"
47 analyzer-version = 1
48 inputs-digest = "202e7cae2f728ff790117ef6fa65af3a598f1075ff39444c50964547d817aefc"
49 solver-name = "gps-cdcl"
50 solver-version = 1
0
1 # Gopkg.toml example
2 #
3 # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
4 # for detailed Gopkg.toml documentation.
5 #
6 # required = ["github.com/user/thing/cmd/thing"]
7 # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
8 #
9 # [[constraint]]
10 # name = "github.com/user/project"
11 # version = "1.0.0"
12 #
13 # [[constraint]]
14 # name = "github.com/user/project2"
15 # branch = "dev"
16 # source = "github.com/myfork/project2"
17 #
18 # [[override]]
19 # name = "github.com/x/y"
20 # version = "2.4.0"
21
22
23 [[constraint]]
24 branch = "master"
25 name = "github.com/bsm/pool"
26
27 [[constraint]]
28 name = "github.com/onsi/ginkgo"
29
30 [[constraint]]
31 name = "github.com/onsi/gomega"
0 PKG=$(shell go list ./... | grep -v vendor)
1
02 default: vet test
13
24 test:
3 go test ./...
5 go test $(PKG)
46
57 vet:
6 go vet ./...
8 go vet $(PKG)
79
810 bench:
9 go test ./... -run=NONE -bench=. -benchmem -benchtime=5s
11 go test $(PKG) -run=NONE -bench=. -benchmem -benchtime=5s
1012
1113 # go get -u github.com/davelondon/rebecca/cmd/becca
1214
6969 // A zero value for t means Write will not time out.
7070 SetWriteDeadline(time.Time) error
7171
72 // Close (force) closes the connection.
73 Close() error
74
7275 madeByRedeo()
7376 }
7477
8285 }
8386
8487 // MarkFailed implements Conn interface.
85 func (c *conn) MarkFailed() { c.failed = true }
88 func (c *conn) MarkFailed() { c.failed = true }
89
90 // Close implements Conn interface.
91 func (c *conn) Close() error { c.failed = true; return c.Conn.Close() }
92
8693 func (c *conn) madeByRedeo() {}