Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware interface { Name() string Writer(path string, w io.Writer) (io.WriteCloser, error) // calling Close on the returned writer must ***NOT*** close the parent. Reader(path string, r io.Reader, st os.FileInfo) (io.ReadCloser, error) }
Middleware is the interface that defines an encoder/decoder chain.
Click to show internal directories.
Click to hide internal directories.