upload

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func NewStorage

func NewStorage(rootDir string) *Storage

func (*Storage) StorageDir

func (s *Storage) StorageDir() string

func (*Storage) UploadHandler

func (s *Storage) UploadHandler(w http.ResponseWriter, r *http.Request)

UploadHandler is the endpoint for uploading and storing files.

Jump to

Keyboard shortcuts

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