multipart

package
v0.0.0-...-cce57c7 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package multipart to handle MultipartForm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormFile

type FormFile struct {
	// contains filtered or unexported fields
}

func (*FormFile) FileName

func (f *FormFile) FileName() string

func (*FormFile) Name

func (f *FormFile) Name() string

func (*FormFile) Read

func (f *FormFile) Read(p []byte) (n int, err error)

type MultipartForm

type MultipartForm struct {
	// contains filtered or unexported fields
}

func New

func New(r *http.Request) *MultipartForm

func (*MultipartForm) GetFormFile

func (m *MultipartForm) GetFormFile(targetName string) (*FormFile, error)

Jump to

Keyboard shortcuts

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