|
|
@ -4,7 +4,7 @@ import (
|
|
|
|
"git.noahlan.cn/noahlan/ntool-biz/nkatago/req"
|
|
|
|
"git.noahlan.cn/noahlan/ntool-biz/nkatago/req"
|
|
|
|
"git.noahlan.cn/noahlan/ntool-biz/nkatago/resp"
|
|
|
|
"git.noahlan.cn/noahlan/ntool-biz/nkatago/resp"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/ndef"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/ndef"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/ngo/codec"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/njson"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/nrandom"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/nrandom"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/nstr"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/nstr"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/nsys/cmdn"
|
|
|
|
"git.noahlan.cn/noahlan/ntool/nsys/cmdn"
|
|
|
@ -39,7 +39,7 @@ func NewAnalysisEngine(name string, args ...string) (*AnalysisEngine, error) {
|
|
|
|
engine := &AnalysisEngine{KatagoEngine: &KatagoEngine{
|
|
|
|
engine := &AnalysisEngine{KatagoEngine: &KatagoEngine{
|
|
|
|
Processor: cmdn.NewProcessor(
|
|
|
|
Processor: cmdn.NewProcessor(
|
|
|
|
false,
|
|
|
|
false,
|
|
|
|
cmdn.WithSerializer(codec.NewJsonSerializer()),
|
|
|
|
cmdn.WithSerializer(njson.NewJsonSerializer()),
|
|
|
|
cmdn.WithStartupDecidedFunc(analStartupDecidedFunc),
|
|
|
|
cmdn.WithStartupDecidedFunc(analStartupDecidedFunc),
|
|
|
|
cmdn.WithEndLineDecidedFunc(analEndLineDecidedFunc),
|
|
|
|
cmdn.WithEndLineDecidedFunc(analEndLineDecidedFunc),
|
|
|
|
cmdn.WithReadIDFunc(analReadIDFunc),
|
|
|
|
cmdn.WithReadIDFunc(analReadIDFunc),
|
|
|
|