files

package
v0.0.0-...-05cadd0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// MB is Megabyte
	MB = 1 << 20
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FileService

type FileService interface {
	UploadFile(w http.ResponseWriter, r *http.Request)
	GetFile(w http.ResponseWriter, r *http.Request)
}

FileService implements file service API

func NewFileService

func NewFileService(cfg *config.Minio, db *sql.DB, log log.Logger, base string, headersPass []config.HeaderPass) (FileService, error)

NewFileService returns new file service interface

Jump to

Keyboard shortcuts

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