Skip to content

fix:修复客户端鉴权接口设置 (#203) #271

fix:修复客户端鉴权接口设置 (#203)

fix:修复客户端鉴权接口设置 (#203) #271

Triggered via push March 27, 2024 17:08
Status Success
Total duration 51s
Artifacts

revive.yml

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

Annotations

66 warnings
Run Revive Action (1.16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.16.x): pkg/model/pb/metric/v2/code.go#L29
comment on exported const ExecuteSuccess should be of the form "ExecuteSuccess ..."
Run Revive Action (1.16.x): pkg/model/pb/metric/v2/code.go#L22
exported type Code should have comment or be unexported
Run Revive Action (1.16.x): benchmark/benchsimple/main.go#L89
comment on exported type Durations should be of the form "Durations ..." (with optional leading article)
Run Revive Action (1.16.x): pkg/model/pb/metric/v2/code.go#L31
comment on exported const ExecuteContinue should be of the form "ExecuteContinue ..."
Run Revive Action (1.16.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.16.x): plugin/loadbalancer/weightedrandom/wr.go#L65
parameter 'ignoreHalfOpen' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): pkg/plugin/healthcheck/healthcheck.go#L18
should have a package comment
Run Revive Action (1.16.x): examples/quickstart/provider/main.go#L73
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.16.x): examples/quickstart/consumer/main.go#L58
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.19.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.19.x): benchmark/benchmain/main.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/flow/data/compare.go#L18
should have a package comment
Run Revive Action (1.19.x): pkg/flow/startup/client_report.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/fallback/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/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.19.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.18.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/encrypt/main.go#L18
should have a package comment
Run Revive Action (1.18.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/circuitbreaker/instance/provider/main.go#L72
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.18.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.18.x): examples/route/nearby/provider/main.go#L18
should have a package comment
Run Revive Action (1.20.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.20.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.20.x): benchmark/benchsimple/main.go#L18
should have a package comment
Run Revive Action (1.20.x): pkg/flow/configuration/config_flow.go#L18
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.20.x): examples/configuration/group/main.go#L18
should have a package comment
Run Revive Action (1.20.x): examples/configuration/normal/main.go#L18
should have a package comment
Run Revive Action (1.20.x): api.go#L134
exported type GetConfigFileRequest should have comment or be unexported
Run Revive Action (1.15.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.15.x): examples/activehealthcheck/main.go#L129
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): pkg/stat/loadbalance/lb.go#L27
type name will be used as loadbalance.LoadBalanceGauge by other packages, and that stutters; consider calling this Gauge
Run Revive Action (1.15.x): examples/route/nearby/provider/main.go#L132
parameter 'r' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.15.x): pkg/stat/plugin/plug.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/circuitbreaker/interface/consumer/main.go#L75
parameter 'ctx' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): plugin/healthcheck/utils/detection_utils_test.go#L39
parameter 'insp' seems to be unused, consider removing or renaming it as _
Run Revive Action (1.15.x): examples/activehealthcheck/main.go#L18
should have a package comment
Run Revive Action (1.15.x): examples/configuration/crud/main.go#L18
should have a package comment
Run Revive Action (1.17.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run Revive Action (1.17.x): pkg/plugin/serverconnector/proxy.go#L18
should have a package comment
Run Revive Action (1.17.x): benchmark/benchmain/main.go#L47
const operationRpcNaming should be operationRPCNaming
Run Revive Action (1.17.x): benchmark/benchmain/main.go#L46
const operationRpcDirect should be operationRPCDirect
Run Revive Action (1.17.x): pkg/stat/loadbalance/lb.go#L27
type name will be used as loadbalance.LoadBalanceGauge by other packages, and that stutters; consider calling this Gauge
Run Revive Action (1.17.x): pkg/plugin/register/plugins.go#L18
should have a package comment
Run Revive Action (1.17.x): examples/configuration/fallback/main.go#L18
should have a package comment
Run Revive Action (1.17.x): pkg/stat/loadbalance/lb.go#L18
should have a package comment
Run Revive Action (1.17.x): plugin/loadbalancer/common/half_open.go#L18
should have a package comment
Run Revive Action (1.17.x): plugin/healthcheck/utils/detection_utils_test.go#L39
parameter 'insp' seems to be unused, consider removing or renaming it as _