This commit is contained in:
jtjing
2018-10-05 22:28:10 +08:00
parent 7dade7158a
commit a50ccb4caa
5 changed files with 438 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import (
redis "github.com/40t/go-sniffer/plugSrc/redis/build"
hp "github.com/40t/go-sniffer/plugSrc/http/build"
mongodb "github.com/40t/go-sniffer/plugSrc/mongodb/build"
kafka "github.com/40t/go-sniffer/plugSrc/kafka/build"
"path/filepath"
"fmt"
"path"
@@ -82,6 +83,9 @@ func (p *Plug) LoadInternalPlugList() {
//Mongodb
list["mongodb"] = mongodb.NewInstance()
//kafka
list["kafka"] = kafka.NewInstance()
//Redis
list["redis"] = redis.NewInstance()