github.com/HXSecurity/DongTai-agent-go@v0.4.2/run/kafkaGo/kafkaGo.go (about)

     1  package kafkaGo
     2  
     3  import (
     4  	_ "github.com/HXSecurity/DongTai-agent-go/core/kafkaGo/kafkaWriter"
     5  	"github.com/HXSecurity/DongTai-agent-go/global"
     6  	"github.com/HXSecurity/DongTai-agent-go/hook"
     7  )
     8  
     9  func init() {
    10  	g := new(hook.KafkaGo)
    11  	global.AllHooks = append(global.AllHooks, g)
    12  	g.HookAll()
    13  }