filesystem

package
Version: v0.0.0-...-2b5e5cc Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem interface {
	Check()
	GetSystem() string
	GetPath() string
	Upload(*gin.Context, *multipart.FileHeader) error
	GetHostURL() string
}
var Driver FileSystem

type Local

type Local struct {
	System string
	Path   string
}

func (Local) Check

func (l Local) Check()

func (Local) GetHostURL

func (l Local) GetHostURL() string

func (Local) GetPath

func (l Local) GetPath() string

func (Local) GetSystem

func (l Local) GetSystem() string

func (Local) Upload

func (l Local) Upload(ctx *gin.Context, uploadFile *multipart.FileHeader) error

Source Files

Jump to

Keyboard shortcuts

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