code

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 28 Imported by: 8

Documentation

Index

Constants

View Source
const (
	HTTP  = "http"
	REDIS = "redis"
)
View Source
const (
	NCONN = "nconn"
	NREQS = "nreqs"
)
View Source
const (
	SPLIT    = lex.SPLIT
	SPACE    = lex.SPACE
	OPERATOR = lex.OPERATOR
	PREFIX   = lex.PREFIX
	SUFFIX   = lex.SUFFIX
)
View Source
const (
	COMMENT  = "comment"
	KEYWORD  = "keyword"
	CONSTANT = "constant"
	DATATYPE = "datatype"
	FUNCTION = "function"
)
View Source
const (
	PLUG = "plug"
	SHOW = "show"
	EXEC = "exec"
)
View Source
const (
	LIB    = "lib"
	PAGE   = "page"
	PANEL  = "panel"
	PLUGIN = "plugin"
)
View Source
const (
	PAGE_INDEX_CSS = "page/index.css"
	PAGE_CACHE_CSS = "page/cache.css"
	PAGE_INDEX_JS  = "page/index.js"
	PAGE_CACHE_JS  = "page/cache.js"
	PAGE_CAN_CSS   = "page/can.css"
	PAGE_CAN_JS    = "page/can.js"
)
View Source
const AUTOGEN = "autogen"
View Source
const BENCH = "bench"
View Source
const BINPACK = "binpack"
View Source
const C = "c"
View Source
const CASE = "case"
View Source
const CODE = "code"
View Source
const COMPILE = "compile"
View Source
const COMPLETE = "complete"
View Source
const CSS = "css"
View Source
const DEVPACK = "devpack"
View Source
const FAVOR = "favor"
View Source
const (
	GIT = "git"
)
View Source
const GO = "go"
View Source
const GODOC = "godoc"
View Source
const H = "h"
View Source
const HTML = "html"
View Source
const INNER = "inner"
View Source
const INSTALL = "install"
View Source
const JS = "js"
View Source
const JSON = "json"
View Source
const MAN = "man"
View Source
const MOD = "mod"
View Source
const NAVIGATE = "navigate"
View Source
const OAUTH = "oauth"
View Source
const PPROF = "pprof"
View Source
const (
	PREPARE = "prepare"
)
View Source
const PUBLISH = "publish"
View Source
const PY = nfs.PY
View Source
const (
	RELAY = "relay"
)
View Source
const SH = nfs.SH
View Source
const SHY = "shy"
View Source
const SUM = "sum"
View Source
const TEMPLATE = "template"
View Source
const UPGRADE = "upgrade"
View Source
const VIMER = "vimer"
View Source
const WEBPACK = "webpack"
View Source
const XTERM = "xterm"
View Source
const ZML = nfs.ZML

Variables

View Source
var Index = &ice.Context{Name: CODE, Help: "编程中心", Commands: ice.Commands{
	ice.CTX_INIT: {Hand: func(m *ice.Message, arg ...string) {
		m.Conf(TEMPLATE, kit.Keym(mdb.SHORT), mdb.TYPE)
		m.Conf(COMPLETE, kit.Keym(mdb.SHORT), mdb.TYPE)
		m.Conf(NAVIGATE, kit.Keym(mdb.SHORT), mdb.TYPE)
		ctx.Load(m)
	}},
}}

Functions

func Complete added in v1.4.2

func Complete(m *ice.Message, text string, data ice.Map)

func InnerPath added in v1.4.7

func InnerPath(arg ...string) (dir, file string)

func InstallAction added in v0.4.9

func InstallAction(args ...ice.Any) ice.Actions

func LoadPlug

func LoadPlug(m *ice.Message, lang ...string)

func PlugAction added in v0.6.3

func PlugAction() ice.Actions

func Prefix added in v1.4.2

func Prefix(arg ...string) string

func PublishScript added in v1.4.7

func PublishScript(m *ice.Message, arg ...string)

func TagsList added in v1.4.0

func TagsList(m *ice.Message, cmds ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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