fix: 修复nkatago由于ntool更新导致的问题

main v1.1.1
NoahLan 1 year ago
parent d35f415d8a
commit e8f952d06b

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

Loading…
Cancel
Save