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