From b479bd3ff3072b4c0431a22edc85634a3a33be2f Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 25 Oct 2023 01:21:48 +0800 Subject: [PATCH] [add] Neo context signal --- neo/command/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/neo/command/types.go b/neo/command/types.go index 035150f1..f9026f28 100644 --- a/neo/command/types.go +++ b/neo/command/types.go @@ -76,6 +76,7 @@ type Context struct { Field *ContextField `json:"field,omitempty"` Namespace string `json:"namespace,omitempty"` Config map[string]interface{} `json:"config,omitempty"` + Signal interface{} `json:"signal,omitempty"` context.Context `json:"-" yaml:"-"` }