Add grpc proxy backend #487
golangci-lint.yml
on: pull_request
golangci-lint
1m 22s
Annotations
10 errors
golangci-lint:
cache/grpcproxy/grpcproxy.go#L122
Error return value of `stream.CloseSend` is not checked (errcheck)
|
golangci-lint:
cache/grpcproxy/grpcproxy_test.go#L54
Error return value of `server.ListenAndServeGRPC` is not checked (errcheck)
|
golangci-lint:
cache/grpcproxy/grpcproxy_test.go#L123
Error return value of `putFixture.clients.ac.UpdateActionResult` is not checked (errcheck)
|
golangci-lint:
cache/grpcproxy/readcloser.go#L43
Error return value of `s.Stream.CloseSend` is not checked (errcheck)
|
golangci-lint:
cache/grpcproxy/grpcproxy.go#L248
S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) (gosimple)
|
golangci-lint:
cache/grpcproxy/grpcproxy_test.go#L56
testinggoroutine: call to (*T).Fatal from a non-test goroutine (govet)
|
golangci-lint:
cache/grpcproxy/grpcproxy_test.go#L39
SA1019: grpc.WithInsecure is deprecated: use WithTransportCredentials and insecure.NewCredentials() instead. Will be supported throughout 1.x. (staticcheck)
|
golangci-lint:
cache/grpcproxy/grpcproxy.go#L14
SA1019: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead. (staticcheck)
|
golangci-lint:
cache/grpcproxy/grpcproxy_test.go#L53
SA2002: the goroutine calls T.Fatal, which must be called in the same goroutine as the test (staticcheck)
|
golangci-lint
golangci-lint exit with code 4
|