nfs

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 18 Imported by: 22

Documentation

Index

Constants

View Source
const (
	PATH = "path"
	SIZE = "size"
)
View Source
const (
	TYPE_ALL  = "all"
	TYPE_CAT  = "cat"
	TYPE_DIR  = "dir"
	TYPE_BOTH = "both"
)
View Source
const (
	DIR_ROOT = "dir_root"
	DIR_TYPE = "dir_type"
	DIR_DEEP = "dir_deep"
	DIR_REG  = "dir_reg"
)
View Source
const CAT = "cat"
View Source
const COPY = "copy"
View Source
const DEFS = "defs"
View Source
const DIR = "dir"
View Source
const LINK = "link"
View Source
const PUSH = "push"
View Source
const SAVE = "save"
View Source
const TAIL = "tail"
View Source
const TRASH = "trash"

Variables

View Source
var Index = &ice.Context{Name: "nfs", Help: "存储模块", Commands: map[string]*ice.Command{
	ice.CTX_INIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
		m.Load()
		m.Cmd(mdb.RENDER, mdb.CREATE, CAT)
		m.Cmd(mdb.SEARCH, mdb.CREATE, DIR)
		m.Cmd(mdb.RENDER, mdb.CREATE, DIR)
	}},
	ice.CTX_EXIT: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
		m.Save()
	}},
}}

Functions

func Dir

func Dir(m *ice.Message, sort string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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