summaryrefslogtreecommitdiff
path: root/cmd/rr/main.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-03 12:58:52 +0300
committerWolfy-J <[email protected]>2018-06-03 12:58:52 +0300
commit89b1e86b6e3fbb099ba6bd34ac0501f752b4514c (patch)
tree16bce58e73970caf8f991da009f9b4af86497842 /cmd/rr/main.go
parent0e2fc4b5e21d115850ece2bd44f21fc5b335c41d (diff)
simplier stuff
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r--cmd/rr/main.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index fe3de1c4..4d132da6 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -24,19 +24,12 @@ package main
import (
"github.com/spiral/roadrunner/cmd/rr/cmd"
- "github.com/spiral/roadrunner/service"
- "github.com/spiral/roadrunner/http"
// service plugins
_ "github.com/spiral/roadrunner/cmd/rr/http"
)
-var bus = service.NewBus()
-
func main() {
- // http server with PSR7 support
- bus.Register(&http.Service{})
-
// you can register additional commands using cmd.Root
- cmd.Execute(bus)
+ cmd.Execute()
}