Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2022 Changes in this version + type File interface + type FileHeader struct + Filename string + Header textproto.MIMEHeader + func (fh *FileHeader) Open() (File, error) + type Form struct + File map[string][]*FileHeader + Value map[string][]string + func (f *Form) RemoveAll() error + type Part struct + Header textproto.MIMEHeader + func (p *Part) Close() error + func (p *Part) FileName() string + func (p *Part) FormName() string + func (p *Part) Read(d []byte) (n int, err error) + type Reader struct + func NewReader(r io.Reader, boundary string) *Reader + func (r *Reader) NextPart() (*Part, error) + func (r *Reader) ReadForm(maxMemory int64) (f *Form, err error) + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Boundary() string + func (w *Writer) Close() error + func (w *Writer) CreateFormField(fieldname string) (io.Writer, error) + func (w *Writer) CreateFormFile(fieldname, filename string) (io.Writer, error) + func (w *Writer) CreatePart(header textproto.MIMEHeader) (io.Writer, error) + func (w *Writer) FormDataContentType() string + func (w *Writer) SetBoundary(boundary string) error + func (w *Writer) WriteField(fieldname, value string) error