mw

package
v0.0.0-...-4c19b43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL