api

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CatHandler added in v0.5.0

func CatHandler(c *kid.Ctx) error

func DownloadHandler

func DownloadHandler(c *kid.Ctx) error

func EditHandler added in v0.5.0

func EditHandler(c *kid.Ctx) error

func LsHandler

func LsHandler(c *kid.Ctx) error

func MkdirHandler

func MkdirHandler(c *kid.Ctx) error

func MvHandler

func MvHandler(c *kid.Ctx) error

func RmHandler

func RmHandler(c *kid.Ctx) error

func TouchHandler added in v0.5.0

func TouchHandler(c *kid.Ctx) error

func UploadHandler

func UploadHandler(c *kid.Ctx) error

Types

type LsResultItem

type LsResultItem struct {
	Name  string `json:"name"`
	IsDir bool   `json:"isDir"`
	Time  int64  `json:"time"`
	Mode  string `json:"mode"`
	Size  int64  `json:"size"`
}

Jump to

Keyboard shortcuts

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