fileserver

package module
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFileApi added in v0.0.21

func AddFileApi(l model.Logger, db model.DataBaseAdapter, hdd model.FileDiskRW, root_folder ...string) (*fileServer, error)

func ArchiveType

func ArchiveType(File *[]byte) string

func CloneDirectory added in v0.0.2

func CloneDirectory(origin, destiny string)

func MultiPartFileForm added in v0.0.9

func MultiPartFileForm(path_files string, files_name []string, form map[string]string) (body []byte, boundary string, err error)

path_files ej: ./test_files "files" ej: "files", "endoscopia", "voucher", "foto_mascota", "foto_usuario" files_name ej: "gatito.jpg, perro.png"

Types

This section is empty.

Jump to

Keyboard shortcuts

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