mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
10 lines
337 B
Go
10 lines
337 B
Go
package runtime
|
|
|
|
import "io"
|
|
|
|
// DiscardConsumer does absolutely nothing, it's a black hole.
|
|
var DiscardConsumer = ConsumerFunc(func(_ io.Reader, _ interface{}) error { return nil })
|
|
|
|
// DiscardProducer does absolutely nothing, it's a black hole.
|
|
var DiscardProducer = ProducerFunc(func(_ io.Writer, _ interface{}) error { return nil })
|