docker: Index | Files

package broadcaster

import ""


Package Files


type Unbuffered Uses

type Unbuffered struct {
    // contains filtered or unexported fields

Unbuffered accumulates multiple io.WriteCloser by stream.

func (*Unbuffered) Add Uses

func (w *Unbuffered) Add(writer io.WriteCloser)

Add adds new io.WriteCloser.

func (*Unbuffered) Clean Uses

func (w *Unbuffered) Clean() error

Clean closes and removes all writers. Last non-eol-terminated part of data will be saved.

func (*Unbuffered) Write Uses

func (w *Unbuffered) Write(p []byte) (n int, err error)

Write writes bytes to all writers. Failed writers will be evicted during this call.

Package broadcaster imports 2 packages (graph) and is imported by 512 packages. Updated 2018-05-27. Refresh now. Tools for package owners.