docker: github.com/docker/docker/pkg/broadcaster Index | Files

package broadcaster

import "github.com/docker/docker/pkg/broadcaster"

Index

Package Files

unbuffered.go

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 380 packages. Updated 2018-05-27. Refresh now. Tools for package owners.