示例#1
0
func attachPipeSource(pipeline rabbitbeans.Pipeline, source chan interface{}) {
	log.Printf("Attaching source to pipe")
	for msg := range source {
		pipeline.Enqueue(msg)
	}
}