github.com/Jeffail/benthos/v3@v3.65.0/lib/output/interface.go (about) 1 package output 2 3 import "github.com/Jeffail/benthos/v3/lib/types" 4 5 // Type is the standard interface of an output type. 6 type Type interface { 7 types.Closable 8 types.Consumer 9 10 // Connected returns a boolean indicating whether this output is currently 11 // connected to its target. 12 Connected() bool 13 }