upload

package
v0.0.0-...-7604275 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provider = wire.NewSet(NewUpload)

Functions

This section is empty.

Types

type Upload

type Upload struct {
	File *os.File
}

func NewUpload

func NewUpload() *Upload

func (*Upload) Close

func (f *Upload) Close()

func (*Upload) CreateName

func (f *Upload) CreateName() error

func (*Upload) GetFileName

func (f *Upload) GetFileName() string

func (*Upload) WriteContent

func (f *Upload) WriteContent(content []byte) (int, error)

Jump to

Keyboard shortcuts

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