Skip to content

Commit 9a6b8cd

Browse files
committed
Refine
1 parent c0e6640 commit 9a6b8cd

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

main.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ type PipelinePacket interface {
2020
flowbase.Packet
2121
ID() []string
2222
GetURI() []string
23-
GetRaw() ([]byte, err)
23+
GetRaw() ([]byte, error)
2424
GetScanner()
2525
GetTextScanner()
26-
Tags() [string]string
27-
GetFlowContext() FlowContext
26+
Write([]byte) error
27+
Persist() error
28+
GetFlowContext() FlowContext // Should this be moved to flowbase instead?
29+
Tags() [string]string // Should this be kept in the FlowContext instead?
2830
}
2931

3032
func main() {

0 commit comments

Comments
 (0)