Documentation ¶
Overview ¶
Package multipart GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapFileHeader ¶
func WrapFileHeader(r io.ReadCloser, fns ...OptionFunc) courierhttp.FileHeader
Types ¶
type FormPartWriter ¶
type FormPartWriter struct {
// contains filtered or unexported fields
}
func NewFormPartWriter ¶
func NewFormPartWriter(createPartWriter func(header textproto.MIMEHeader) (io.Writer, error)) *FormPartWriter
func (*FormPartWriter) Header ¶
func (w *FormPartWriter) Header() http.Header
func (*FormPartWriter) NextWriter ¶
func (w *FormPartWriter) NextWriter() io.Writer
type OptionFunc ¶
func WithFilename ¶
func WithFilename(filename string) OptionFunc
func WithName ¶
func WithName(name string) OptionFunc
Click to show internal directories.
Click to hide internal directories.