part

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DelimiterEnd = "ska-end"
View Source
const DelimiterID = "ska"
View Source
const DelimiterStart = "ska-start"

Variables

View Source
var (
	ErrMultipartError = errors.New("error creating multipart")
	ErrInvalidContent = errors.New("invalid content for multipart")
)

Functions

This section is empty.

Types

type Part

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

func NewPart

func NewPart(fromRefFileURI, id string) *Part

func (*Part) CreateFile

func (p *Part) CreateFile() error

func (*Part) ID

func (p *Part) ID() string

func (*Part) RefFileBasename

func (p *Part) RefFileBasename() string

func (*Part) RefFilePath

func (p *Part) RefFilePath() string

func (*Part) SetFilePath

func (p *Part) SetFilePath(path string) *Part

func (*Part) WithContent

func (p *Part) WithContent(content []byte) *Part

Jump to

Keyboard shortcuts

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