Skip to content

ratelimit specification #195

ratelimit specification

ratelimit specification #195

Re-run triggered August 10, 2023 02:59
Status Success
Total duration 1m 6s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

revive.yml

on: pull_request
Matrix: Run Revive Action
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.16.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/plugin/register/plugins.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/circuitbreaker/common/half_open.go#L135
exported const ToClose should have comment (or a comment on this block) or be unexported
Run Revive Action (1.20.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.20.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.20.x): plugin/healthcheck/tcp/config.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.20.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.x): api/log.go#L27
a blank import should be only in a main or test package, or have a comment justifying it
Run Revive Action (1.19.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/dynamic/consumer/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/circuitbreaker/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.17.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/quickstart/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/ratelimit/consumer/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/ratelimit/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/dynamic/provider/main.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/instance/notify/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/instance/notify/main.go#L76
exported type TestListener should have comment or be unexported
Run Revive Action (1.18.x): examples/watchinstance/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/watch/service/longpull/main.go#L52
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.18.x): examples/watch/service/longpull/main.go#L77
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.18.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/circuitbreaker/provider/main.go#L17
should have a package comment
Run Revive Action (1.18.x): examples/watch/instance/longpull/main.go#L88
should omit type uint64 from declaration of var index; it will be inferred from the right-hand side
Run Revive Action (1.18.x): pkg/flow/registerstate/register_flow.go#L71
exported method PutRegister returns unexported type *registerstate.registerState, which can be annoying to use
Run Revive Action (1.18.x): examples/extensions/zeroprotect/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/quickstart/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/route/nearby/consumer/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/watch/instance/notify/main.go#L76
exported type TestListener should have comment or be unexported
Run Revive Action (1.15.x): examples/watch/service/notify/main.go#L44
exported type TestListener should have comment or be unexported
Run Revive Action (1.15.x): examples/watch/service/longpull/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/watch/instance/longpull/main.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/algorithm/rand/scalable_rand_test.go#L51
parameter 't' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): examples/watchinstance/main.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/config/ratelimiter.go#L128
exported method RateLimitConfigImpl.GetLimiterService should have comment or be unexported