loopdb: clean up comments

This commit is contained in:
Slyghtning 2026-05-27 11:50:30 +02:00
parent 089743dacc
commit 11bf5ca219
No known key found for this signature in database
GPG key ID: F82D456EA023C9BF
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ type PostgresConfig struct {
RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."` RequireSSL bool `long:"requiressl" description:"Whether to require using SSL (mode: require) when connecting to the server."`
} }
// DSN returns the dns to connect to the database. // DSN returns the data source name used to connect to the database.
func (s *PostgresConfig) DSN(hidePassword bool) string { func (s *PostgresConfig) DSN(hidePassword bool) string {
var sslMode = "disable" var sslMode = "disable"
if s.RequireSSL { if s.RequireSSL {

View file

@ -24,7 +24,7 @@ const (
ProtocolVersionSegwitLoopIn ProtocolVersion = 2 ProtocolVersionSegwitLoopIn ProtocolVersion = 2
// ProtocolVersionPreimagePush indicates that the client will push loop // ProtocolVersionPreimagePush indicates that the client will push loop
// out preimages to the sever to speed up claim. // out preimages to the server to speed up claim.
ProtocolVersionPreimagePush ProtocolVersion = 3 ProtocolVersionPreimagePush ProtocolVersion = 3
// ProtocolVersionUserExpiryLoopOut indicates that the client will // ProtocolVersionUserExpiryLoopOut indicates that the client will