InputDesc describes an Input component to the topology.
| 66 | |
| 67 | // InputDesc describes an Input component to the topology. |
| 68 | type InputDesc struct { |
| 69 | Name string // Name of the input |
| 70 | New func(InputParams) (Input, error) // New is the constructor-like function called by the topology to create a new input |
| 71 | Config interface{} // Config is the component configuration |
| 72 | Help string // Help string |
| 73 | } |
| 74 | |
| 75 | // FilterDesc describes a Filter component to the topology. |
| 76 | type FilterDesc struct { |
nothing calls this directly
no outgoing calls
no test coverage detected