diff options
author | Wolfy-J <[email protected]> | 2018-06-05 16:23:14 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-05 16:23:14 +0300 |
commit | 76ff8d1c95e087749d559ee5a4f8f0348feafffa (patch) | |
tree | 112630d2d2cfe41d809065034c13b1066b8e05c2 /cmd/rr/main.go | |
parent | 3c86132f90ef6473b4073a8b1500d01b6114fc30 (diff) |
Cs and refactoring
Diffstat (limited to 'cmd/rr/main.go')
-rw-r--r-- | cmd/rr/main.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 9d6f685c..26f70fdd 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -23,13 +23,17 @@ package main import ( - "github.com/spiral/roadrunner/cmd/rr/cmd" + rr "github.com/spiral/roadrunner/cmd/rr/cmd" + "github.com/spiral/roadrunner/rpc" - // service plugins + // cli plugins _ "github.com/spiral/roadrunner/cmd/rr/http" ) func main() { + // provides ability to make local connection to services + rr.Services.Register("rpc", new(rpc.Service)) + // you can register additional commands using cmd.CLI - cmd.Execute() + rr.Execute() } |