multipart

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateReplyImages

func ValidateReplyImages(images [][]byte) error

func ValidateReplyMultipartEnvelope

func ValidateReplyMultipartEnvelope(metadataBytes []byte, bodyLength int64) error

Types

type BodyFactory

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

func NewBodyFactory

func NewBodyFactory(boundary string, metadataBytes []byte, images [][]byte, contentTypes []string) *BodyFactory

func (*BodyFactory) BodyLength

func (f *BodyFactory) BodyLength() int64

func (*BodyFactory) BodySHA256

func (f *BodyFactory) BodySHA256() string

func (*BodyFactory) ContentType

func (f *BodyFactory) ContentType() string

func (*BodyFactory) NewBody

func (f *BodyFactory) NewBody() (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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