Add lockdown mode support for HTTP server #2847
Annotations
10 errors
|
lint:
pkg/utils/api.go#L1
var-naming: avoid meaningless package names (revive)
|
|
lint:
pkg/http/server.go#L21
exported: type name will be used as http.HTTPServerConfig by other packages, and that stutters; consider calling this ServerConfig (revive)
|
|
lint:
pkg/http/handler.go#L146
unused-parameter: parameter 'cfg' seems to be unused, consider removing or renaming it as _ (revive)
|
|
lint:
pkg/http/handler.go#L136
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
lint:
pkg/http/handler.go#L127
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
|
lint:
pkg/http/handler.go#L35
exported: type name will be used as http.HTTPMcpHandlerOption by other packages, and that stutters; consider calling this McpHandlerOption (revive)
|
|
lint:
pkg/http/handler.go#L30
exported: type name will be used as http.HTTPMcpHandlerOptions by other packages, and that stutters; consider calling this McpHandlerOptions (revive)
|
|
lint:
pkg/http/handler.go#L21
exported: type name will be used as http.HTTPMcpHandler by other packages, and that stutters; consider calling this McpHandler (revive)
|
|
lint:
pkg/github/server_test.go#L59
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
|
lint:
pkg/github/server_test.go#L55
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|