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

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