- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for writeFields (0.09 sec)
-
cmd/post-policy_test.go
formData[key] = value } // Create the multipart form. var buf bytes.Buffer w := multipart.NewWriter(&buf) // Set the normal formData for k, v := range formData { w.WriteField(k, v) } // Set the File formData writer, err := w.CreateFormFile("file", "upload.txt") if err != nil { // return nil, err return nil, err } writer.Write([]byte("hello world"))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0) -
api/go1.txt
pkg mime/multipart, method (*Writer) CreatePart(textproto.MIMEHeader) (io.Writer, error) pkg mime/multipart, method (*Writer) FormDataContentType() string pkg mime/multipart, method (*Writer) WriteField(string, string) error pkg mime/multipart, type File interface { Close, Read, ReadAt, Seek } pkg mime/multipart, type File interface, Close() error pkg mime/multipart, type File interface, Read([]uint8) (int, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)