summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-04 19:31:06 +0300
committerWolfy-J <[email protected]>2019-05-04 19:31:06 +0300
commit2afa417f4f46b31b79043e3e56513d51e4ad2fde (patch)
treee3939afb104647e82bd8bbed85f75616c1faf0eb /cmd/rr/main.go
parent2efc533f2aac215d487a80020b0f9bf4ae5209c3 (diff)
renamings
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index dc2fbc20..196bede3 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -24,16 +24,17 @@ package main
import (
rr "github.com/spiral/roadrunner/cmd/rr/cmd"
- "github.com/spiral/roadrunner/service/watcher"
// services (plugins)
"github.com/spiral/roadrunner/service/env"
"github.com/spiral/roadrunner/service/http"
+ "github.com/spiral/roadrunner/service/limit"
"github.com/spiral/roadrunner/service/rpc"
"github.com/spiral/roadrunner/service/static"
// additional commands and debug handlers
_ "github.com/spiral/roadrunner/cmd/rr/http"
+ _ "github.com/spiral/roadrunner/cmd/rr/limit"
)
func main() {
@@ -41,7 +42,7 @@ func main() {
rr.Container.Register(rpc.ID, &rpc.Service{})
rr.Container.Register(http.ID, &http.Service{})
rr.Container.Register(static.ID, &static.Service{})
- rr.Container.Register(watcher.ID, &watcher.Service{})
+ rr.Container.Register(limit.ID, &limit.Service{})
// you can register additional commands using cmd.CLI
rr.Execute()