MPX-67 - Refactor mProxy #114
Merged
Annotations
10 errors
|
golangci-lint:
pkg/health/health.go#L138
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
|
|
golangci-lint:
pkg/health/health.go#L129
Error return value of `(*encoding/json.Encoder).Encode` is not checked (errcheck)
|
|
golangci-lint:
pkg/server/udp/session.go#L182
Function `cleanupExpired` should pass the context parameter (contextcheck)
|
|
golangci-lint:
pkg/server/udp/server.go#L326
Function `readDownstream->readDownstream$1` should pass the context parameter (contextcheck)
|
|
golangci-lint:
pkg/server/udp/server.go#L260
Function `DrainAll->ForceCloseAll` should pass the context parameter (contextcheck)
|
|
golangci-lint:
pkg/server/tcp/server.go#L326
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
|
golangci-lint:
pkg/proxy/websocket.go#L85
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
|
golangci-lint:
pkg/proxy/http.go#L86
Non-inherited new context, use function like `context.WithXXX` instead (contextcheck)
|
|
golangci-lint:
pkg/parser/websocket/parser.go#L146
Non-inherited new context, use function like `context.WithXXX` or `r.Context` instead (contextcheck)
|
|
golangci-lint:
pkg/parser/websocket/parser.go#L70
Non-inherited new context, use function like `context.WithXXX` or `r.Context` instead (contextcheck)
|
Loading