summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cli/root.go1
-rw-r--r--cmd/main.go9
2 files changed, 9 insertions, 1 deletions
diff --git a/cmd/cli/root.go b/cmd/cli/root.go
index 10e389f2..06a84a82 100644
--- a/cmd/cli/root.go
+++ b/cmd/cli/root.go
@@ -46,7 +46,6 @@ func init() {
cobra.OnInitialize(func() {
if CfgFile != "" {
if absPath, err := filepath.Abs(CfgFile); err == nil {
- println(absPath)
CfgFile = absPath
// force working absPath related to config file
diff --git a/cmd/main.go b/cmd/main.go
index f5d4e0ad..0f8c1bd9 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -7,6 +7,9 @@ import (
"github.com/spiral/roadrunner/v2/cmd/cli"
"github.com/spiral/roadrunner/v2/plugins/http"
"github.com/spiral/roadrunner/v2/plugins/informer"
+ //"github.com/spiral/roadrunner/v2/plugins/kv/boltdb"
+ "github.com/spiral/roadrunner/v2/plugins/kv/memcached"
+ "github.com/spiral/roadrunner/v2/plugins/kv/memory"
"github.com/spiral/roadrunner/v2/plugins/logger"
"github.com/spiral/roadrunner/v2/plugins/metrics"
"github.com/spiral/roadrunner/v2/plugins/redis"
@@ -42,6 +45,12 @@ func main() {
&rpc.Plugin{},
// server plugin (NewWorker, NewWorkerPool)
&server.Plugin{},
+ // boltdb kv plugin
+ // &boltdb.Plugin{},
+ // memcached kv plugin
+ &memcached.Plugin{},
+ // in-memory kv plugin
+ &memory.Plugin{},
)
if err != nil {
log.Fatal(err)