temp

package
v0.0.0-...-88c3b2e Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TmpPrefix = "ae-" + cnst.VERSION + "-"

Functions

This section is empty.

Types

type File

type File struct {
	File     *os.File
	OrigName string
	Filename string
	MimeType string
	Size     int64
	// contains filtered or unexported fields
}

func NewFile

func NewFile(tmpdir string) *File

func (*File) Clone

func (f *File) Clone(suffix string) (fl *File, err error)

func (*File) Close

func (f *File) Close() (err error)

func (*File) Connect

func (f *File) Connect() (err error)

func (*File) Create

func (f *File) Create() (err error)

func (*File) Disconnect

func (f *File) Disconnect()

func (*File) LoadFromForm

func (f *File) LoadFromForm(ff multipart.File) (err error)

func (*File) LoadFromUrl

func (f *File) LoadFromUrl(url string) (err error)

func (*File) Reopen

func (f *File) Reopen() (err error)

Jump to

Keyboard shortcuts

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