From 3173c70eb6d627415e580f883149b27cbfc82faf Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 13 May 2021 12:41:25 +0300 Subject: [PATCH] settings: fix godot warnings Signed-off-by: Roman Khimov --- settings.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/settings.go b/settings.go index ca27a17..1239e65 100644 --- a/settings.go +++ b/settings.go @@ -30,12 +30,12 @@ const ( cfgTLSCertificate = "tls_certificate" cfgTLSKey = "tls_key" - // KeepAlive + // KeepAlive. cfgKeepaliveTime = "keepalive.time" cfgKeepaliveTimeout = "keepalive.timeout" cfgKeepalivePermitWithoutStream = "keepalive.permit_without_stream" - // Web + // Web. cfgWebReadBufferSize = "web.read_buffer_size" cfgWebWriteBufferSize = "web.write_buffer_size" cfgWebReadTimeout = "web.read_timeout" @@ -43,12 +43,12 @@ const ( cfgWebStreamRequestBody = "web.stream_request_body" cfgWebMaxRequestBodySize = "web.max_request_body_size" - // Timeouts + // Timeouts. cfgConTimeout = "connect_timeout" cfgReqTimeout = "request_timeout" cfgRebalance = "rebalance_timer" - // Logger: + // Logger. cfgLoggerLevel = "logger.level" cfgLoggerFormat = "logger.format" cfgLoggerTraceLevel = "logger.trace_level" @@ -57,18 +57,18 @@ const ( cfgLoggerSamplingInitial = "logger.sampling.initial" cfgLoggerSamplingThereafter = "logger.sampling.thereafter" - // Uploader Header + // Uploader Header. cfgUploaderHeaderEnableDefaultTimestamp = "upload_header.use_default_timestamp" - // Peers + // Peers. cfgPeers = "peers" - // Application + // Application. cfgApplicationName = "app.name" cfgApplicationVersion = "app.version" cfgApplicationBuildTime = "app.build_time" - // command line args + // Command line args. cmdHelp = "help" cmdVersion = "version" cmdVerbose = "verbose"