mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
multi: skip checking long lines for config files
This commit is contained in:
@@ -3,6 +3,8 @@ package etcd
|
||||
import "fmt"
|
||||
|
||||
// Config holds etcd configuration alongside with configuration related to our higher level interface.
|
||||
//
|
||||
// nolint:lll
|
||||
type Config struct {
|
||||
Embedded bool `long:"embedded" description:"Use embedded etcd instance instead of the external one. Note: use for testing only."`
|
||||
|
||||
|
@@ -3,6 +3,8 @@ package postgres
|
||||
import "time"
|
||||
|
||||
// Config holds postgres configuration data.
|
||||
//
|
||||
// nolint:lll
|
||||
type Config struct {
|
||||
Dsn string `long:"dsn" description:"Database connection string."`
|
||||
Timeout time.Duration `long:"timeout" description:"Database connection timeout. Set to zero to disable."`
|
||||
|
Reference in New Issue
Block a user