upload

package
v5.2.0-beta1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: LGPL-3.0 Imports: 16 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