func (h *Dumper) Read(in []byte, direction dumper.Direction, connMetadata *dumper.ConnMetadata) ([]dumper.DumpValue, error) {
	return []dumper.DumpValue{
		dumper.DumpValue{
			Key:   "dummy",
			Value: "dummy",
		},
	}, nil
}
Read return byte to analyzed string
package conn
import (
	"time"
	"github.com/k1LoW/tcpdp/dumper"
	"github.com/k1LoW/tcpdp/logger"
	"go.uber.org/zap"
	"go.uber.org/zap/zapcore"
)
type Dumper struct {
	name   string
	logger *zap.Logger
}
func NewDumper() *Dumper {
	dumper := &Dumper{
		name:   "conn",
		logger: logger.NewHexLogger(),
	}
	return dumper
}
func (h *Dumper) Name() string {
	return h.name
}
func (h *Dumper) Dump(in []byte, direction dumper.Direction, connMetadata *dumper.ConnMetadata, additional []dumper.DumpValue) error {
	values := []dumper.DumpValue{}
	values = append(values, connMetadata.DumpValues...)
	values = append(values, additional...)
	values = append(values, dumper.DumpValue{
		Key:   "ts",
		Value: time.Now(),
	})
	h.Log(values)
	return nil
}