multipart

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Multipart

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

func NewMultipartFromFile

func NewMultipartFromFile(filePath, id string) (*Multipart, error)

func (*Multipart) Compile

func (mp *Multipart) Compile(forceRecompile bool) []byte

func (*Multipart) CompileToFile

func (mp *Multipart) CompileToFile(filePath string, forceRecompile bool) error

func (*Multipart) HasParts

func (mp *Multipart) HasParts() bool

func (*Multipart) ID

func (mp *Multipart) ID() string

func (*Multipart) ParseParts

func (mp *Multipart) ParseParts() error

func (*Multipart) Parts

func (mp *Multipart) Parts() []part.Part

func (*Multipart) PartsToFiles

func (mp *Multipart) PartsToFiles() ([]string, error)

Jump to

Keyboard shortcuts

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