mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-08 13:04:50 +08:00
Initial commit
This commit is contained in:
18
exporter/cli.go
Normal file
18
exporter/cli.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user