support raven l7 #188
Annotations
10 errors and 5 warnings
pkg/proxyengine/proxyserver/proxyserver.go#L150
Error return value of `wait.PollUntil` is not checked (errcheck)
|
pkg/proxyengine/proxyclient/proxyclient.go#L81
Error return value of `wait.PollUntil` is not checked (errcheck)
|
pkg/proxyengine/proxyclient/proxyclient.go#L88
File is not `gofmt`-ed with `-s` (gofmt)
|
pkg/proxyengine/proxyserver/manageheader.go#L151
`emtpy` is a misspelling of `empty` (misspell)
|
pkg/proxyengine/proxyserver/manageheader.go#L183
`emtpy` is a misspelling of `empty` (misspell)
|
pkg/proxyengine/proxyserver/interceptor.go#L275
S1023: redundant `return` statement (gosimple)
|
pkg/proxyengine/proxyserver/servers.go#L76
S1023: redundant `return` statement (gosimple)
|
pkg/proxyengine/proxyserver/servers.go#L139
S1023: redundant `return` statement (gosimple)
|
pkg/proxyengine/proxyserver/servers.go#L62
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
pkg/proxyengine/proxyserver/servers.go#L102
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
pkg/utils/utils.go#L67
var-naming: var privateIp should be privateIP (revive)
|
pkg/proxyengine/proxyserver/interceptor.go#L308
var-naming: func isHttpCloseError should be isHTTPCloseError (revive)
|
pkg/proxyengine/proxyserver/manageheader.go#L56
unexported-return: exported func NewHeaderManager returns unexported type *proxyserver.headerManger, which can be annoying to use (revive)
|
pkg/engine/proxy.go#L233
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
pkg/engine/utils.go#L14
unexported-return: exported func NewEngineOption returns unexported type *engine.engineOption, which can be annoying to use (revive)
|
The logs for this run have expired and are no longer available.
Loading