fs

package
v0.0.0-...-78a6345 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	FullURL  string `json:"full_url"`
	BaseURL  string `json:"base_url"`
	Domain   string `json:"domain"`
	FileSize int64  `json:"file_size"`
	Filename string `json:"filename"`
	Hash     string `json:"hash"`
}

type Uploader

type Uploader interface {
	Init([]byte) error
	UploadHTTP(mh *multipart.FileHeader) (*FileInfo, error)
	UploadLocal(dst string) (*FileInfo, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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