Initial commit

This commit is contained in:
hebo
2019-08-08 15:20:56 +08:00
parent 16b067ec89
commit 0f4a202c60
29 changed files with 1482 additions and 2 deletions

18
exporter/cli.go Normal file
View File

@@ -0,0 +1,18 @@
package exporter
import (
"fmt"
"github.com/zr-hebo/sniffer-agent/model"
)
type cliExporter struct {
}
func NewCliExporter() *cliExporter {
return &cliExporter{}
}
func (c *cliExporter) Export (qp model.QueryPiece) (err error){
fmt.Println(qp.String())
return
}