summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-09-06 13:18:01 +0300
committerWolfy-J <[email protected]>2019-09-06 13:18:01 +0300
commitd885d927c4d7ef42daf9953dd8b2a9f6dd6a75ea (patch)
tree676de4cb6113dca10b4d96d67e3059c83b1c4a3c /service
parent1d6b7c125c2d07c3ef646e9a90f3ebb422fa44df (diff)
golint and go fmt
Diffstat (limited to 'service')
-rw-r--r--service/http/config.go2
-rw-r--r--service/metrics/config.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/service/http/config.go b/service/http/config.go
index ff15e83e..ba3e6300 100644
--- a/service/http/config.go
+++ b/service/http/config.go
@@ -94,7 +94,7 @@ func (c *Config) EnableHTTP2() bool {
return c.HTTP2.Enabled
}
-// EnableH2С when HTTP/2 extension must be enabled on TCP.
+// EnableH2C when HTTP/2 extension must be enabled on TCP.
func (c *Config) EnableH2C() bool {
return c.HTTP2.H2C
}
diff --git a/service/metrics/config.go b/service/metrics/config.go
index b17fc0c9..c2f85201 100644
--- a/service/metrics/config.go
+++ b/service/metrics/config.go
@@ -6,6 +6,7 @@ import (
"github.com/spiral/roadrunner/service"
)
+// Config configures metrics service.
type Config struct {
// Address to listen
Address string