diff options
author | Wolfy-J <[email protected]> | 2018-06-03 12:55:54 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-03 12:55:54 +0300 |
commit | 0e2fc4b5e21d115850ece2bd44f21fc5b335c41d (patch) | |
tree | 0b2bae769714f27f6349fba8d4a62d0f8a931568 /cmd/rr | |
parent | 36ea77baa5a41de10bd604cd0e5b5b3cafaaeb64 (diff) |
simplier stuff
Diffstat (limited to 'cmd/rr')
-rw-r--r-- | cmd/rr/main.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 336aeddd..fe3de1c4 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -26,14 +26,12 @@ 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.Bus - -func init() { - bus = service.NewBus() -} +var bus = service.NewBus() func main() { // http server with PSR7 support |