Skip to content
Tam. Nguyen Duc edited this page May 28, 2014 · 1 revision

Pipeline

Gore supports pipelining using gore.Pipeline:

p := gore.NewPipeline()
p.Add(gore.NewCommand("SET", "kirisame", "marisa"))
p.Add(gore.NewCommand("SET", "alice", "margatroid"))
replies, _ := p.Run(conn)
for _, r := range replies {
      // Deal with individual reply here
}
Clone this wiki locally