Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeFormInput ¶
type DecodeFormOutput ¶
type EncodeFormInput ¶
type EncodeFormOutput ¶
type EncodeFormOutput struct { Reader io.ReadCloser ContentType string }
type FormDecoder ¶
type FormDecoder struct { DecodeFormInvocations int DecodeFormInputs []DecodeFormInput DecodeFormStub func(reader io.Reader, contentType string) (*image.Metadata, string, *image.Content, error) DecodeFormOutputs []DecodeFormOutput DecodeFormOutput *DecodeFormOutput }
func NewFormDecoder ¶
func NewFormDecoder() *FormDecoder
func (*FormDecoder) AssertOutputsEmpty ¶
func (f *FormDecoder) AssertOutputsEmpty()
type FormEncoder ¶
type FormEncoder struct { EncodeFormInvocations int EncodeFormInputs []EncodeFormInput EncodeFormStub func(metadata *image.Metadata, contentIntent string, content *image.Content) (io.ReadCloser, string) EncodeFormOutputs []EncodeFormOutput EncodeFormOutput *EncodeFormOutput }
func NewFormEncoder ¶
func NewFormEncoder() *FormEncoder
func (*FormEncoder) AssertOutputsEmpty ¶
func (f *FormEncoder) AssertOutputsEmpty()
func (*FormEncoder) EncodeForm ¶
func (f *FormEncoder) EncodeForm(metadata *image.Metadata, contentIntent string, content *image.Content) (io.ReadCloser, string)
Click to show internal directories.
Click to hide internal directories.