md2gmi/pipeline.go
2021-07-04 12:43:13 +08:00

14 lines
167 B
Go

package main
type Node interface {
Pipeline(chan []byte) chan []byte
}
type Source interface {
Output() chan []byte
}
type Sink interface {
Input(chan []byte)
}