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
Click to show internal directories.
Click to hide internal directories.