multi: skip checking long lines for config files

This commit is contained in:
yyforyongyu committed 2022-10-20 23:59:09 +08:00
1 parent 3e593be053
commit 4db6617d45
25 files changed
+48

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ const (
)
// RPCMiddleware holds the configuration for RPC interception middleware.
//
// nolint:lll
type RPCMiddleware struct {
Enable bool `long:"enable" description:"Enable the RPC middleware interceptor functionality."`
InterceptTimeout time.Duration `long:"intercepttimeout" description:"Time after which a RPC middleware intercept request will time out and return an error if it hasn't yet received a response."`