summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorwppd <[email protected]>2019-12-25 10:31:10 +0800
committerwppd <[email protected]>2019-12-25 10:31:10 +0800
commit081c3708f242a491ddef9733f95f35e70f50c3e7 (patch)
treee362a8f93f820c95fae91ee7d5f080c870ec83cd /cmd
parent75a817edcff22e721dcc3a7fa5590b866f630403 (diff)
add gzip handler
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rr/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index fc02c4d4..f1cf3840 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -34,6 +34,7 @@ import (
"github.com/spiral/roadrunner/service/metrics"
"github.com/spiral/roadrunner/service/rpc"
"github.com/spiral/roadrunner/service/static"
+ "github.com/spiral/roadrunner/service/gzip"
// additional commands and debug handlers
_ "github.com/spiral/roadrunner/cmd/rr/http"
@@ -49,6 +50,7 @@ func main() {
rr.Container.Register(static.ID, &static.Service{})
rr.Container.Register(limit.ID, &limit.Service{})
rr.Container.Register(health.ID, &health.Service{})
+ rr.Container.Register(gzip.ID, &gzip.Service{})
// you can register additional commands using cmd.CLI
rr.Execute()