multipart

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormDecoder

type FormDecoder interface {
	DecodeForm(reader io.Reader, contentType string) (*image.Metadata, string, *image.Content, error)
}

type FormDecoderImpl

type FormDecoderImpl struct{}

func NewFormDecoder

func NewFormDecoder() *FormDecoderImpl

func (*FormDecoderImpl) DecodeForm

func (f *FormDecoderImpl) DecodeForm(reader io.Reader, contentType string) (*image.Metadata, string, *image.Content, error)

type FormEncoder

type FormEncoder interface {
	EncodeForm(metadata *image.Metadata, contentIntent string, content *image.Content) (io.ReadCloser, string)
}

type FormEncoderImpl

type FormEncoderImpl struct{}

func NewFormEncoder

func NewFormEncoder() *FormEncoderImpl

func (*FormEncoderImpl) EncodeForm

func (f *FormEncoderImpl) EncodeForm(metadata *image.Metadata, contentIntent string, content *image.Content) (io.ReadCloser, string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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