debug

package
v0.0.0-...-22430d5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FSBrowser *FSBrowser `flagly:"handler"`
}

type FSBrowser

type FSBrowser struct {
	Dir string `type:"[0]" desc:"directory"`
}

func (*FSBrowser) FlaglyHandle

func (cfg *FSBrowser) FlaglyHandle(f *flow.Flow) error

type FSBrowserCmd

type FSBrowserCmd struct {
	Stat  *FSBrowserCmdStat  `flagly:"handler"`
	Ls    *FSBrowserCmdList  `flagly:"handler"`
	Read  *FSBrowserCmdRead  `flagly:"handler"`
	Write *FSBrowserCmdWrite `flagly:"handler"`
	Cat   *FSBrowserCmdCat   `flagly:"handler"`
}

type FSBrowserCmdCat

type FSBrowserCmdCat struct {
	Fpath string `type:"[0]"`
}

func (*FSBrowserCmdCat) FlaglyHandle

func (cfg *FSBrowserCmdCat) FlaglyHandle(vol *fs.Volume) error

type FSBrowserCmdList

type FSBrowserCmdList struct{}

func (*FSBrowserCmdList) FlaglyHandle

func (cfg *FSBrowserCmdList) FlaglyHandle(vol *fs.Volume)

type FSBrowserCmdRead

type FSBrowserCmdRead struct {
	Fpath string `type:"[0]"`
	Off   int64  `type:"[1]"`
	N     int    `type:"[2]"`
}

func (*FSBrowserCmdRead) FlaglyHandle

func (cfg *FSBrowserCmdRead) FlaglyHandle(vol *fs.Volume) error

type FSBrowserCmdStat

type FSBrowserCmdStat struct {
	Files []string `type:"[]"`
}

func (*FSBrowserCmdStat) FlaglyHandle

func (cfg *FSBrowserCmdStat) FlaglyHandle(vol *fs.Volume)

func (*FSBrowserCmdStat) StatFile

func (cfg *FSBrowserCmdStat) StatFile(vol *fs.Volume, fd *fs.Handle)

type FSBrowserCmdWrite

type FSBrowserCmdWrite struct {
	Fpath   string `type:"[0]"`
	Content string `type:"[1]"`
}

func (*FSBrowserCmdWrite) FlaglyHandle

func (cfg *FSBrowserCmdWrite) FlaglyHandle(vol *fs.Volume) error

Jump to

Keyboard shortcuts

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