Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLimitWriteCloser ¶
func NewLimitWriteCloser(w io.WriteCloser, c int64) io.WriteCloser
NewLimitWriteCloser creates a new LimitWriteCloser.
func NopWriteCloser ¶
func NopWriteCloser(w io.Writer) io.WriteCloser
NopWriteCloser returns a new io.WriteCloser with the given writer as io.Writer.
Types ¶
type APIStore ¶
APIStore provies a storage.Putter that adds chunks to swarm through the HTTP chunk API.
type LimitWriteCloser ¶
type LimitWriteCloser struct { io.WriteCloser // contains filtered or unexported fields }
LimitWriteCloser limits the output from the application.
Click to show internal directories.
Click to hide internal directories.