handlers

package
v0.0.0-...-8150c3c Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

File is a handler fore reading and writing files

func NewFile

func NewFile(l hclog.Logger, s file.Storage) *File

NewFile creates an instace of @Image handler

func (*File) UploadMultiPart

func (image *File) UploadMultiPart(rw http.ResponseWriter, r *http.Request)

UploadMultiPart implements the http.handler interface for Multi Part uploads

func (*File) UploadREST

func (image *File) UploadREST(rw http.ResponseWriter, r *http.Request)

UploadREST implements the http.handler interface for REST uploads

Jump to

Keyboard shortcuts

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