fs3processor

package
v0.0.0-...-700b64f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileNotExists

func FileNotExists(path string) bool

func GetDirFromFilePath

func GetDirFromFilePath(path string) string

func IsPathSafe

func IsPathSafe(path string) bool

func MakeServerSidePath

func MakeServerSidePath(path, username string) (prefix string)

Types

type Fs3RequestProcessor

type Fs3RequestProcessor struct {
	Logger *log.Logger
}

func NewFs3RequestProcessor

func NewFs3RequestProcessor(logger *log.Logger) *Fs3RequestProcessor

func (*Fs3RequestProcessor) Copy

func (handler *Fs3RequestProcessor) Copy(req *fs3.CopyRequest) (reply *fs3.CopyReply, err error)

func (*Fs3RequestProcessor) Describe

func (handler *Fs3RequestProcessor) Describe(
	req *fs3.DescribeRequest,
) (reply *fs3.DescribeReply, err error)

func (*Fs3RequestProcessor) Get

func (handler *Fs3RequestProcessor) Get(req *fs3.GetRequest) (reply *fs3.GetReply, err error)

func (*Fs3RequestProcessor) Remove

func (handler *Fs3RequestProcessor) Remove(
	req *fs3.RemoveRequest,
) (reply *fs3.RemoveReply, err error)

Jump to

Keyboard shortcuts

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