Documentation ¶
Index ¶
- Constants
- Variables
- func AdminCmd(m *ice.Message, cmd string, arg ...string) string
- func AgentIs(m Message, arg ...string) bool
- func ApiAction(arg ...string) ice.Actions
- func ApiWhiteAction() ice.Actions
- func BasicCheck(m *ice.Message, realm string, check ...func(*ice.Message) bool) bool
- func BasicSess(m *ice.Message)
- func C(arg ...string) string
- func ChatCmdPath(m *ice.Message, arg ...string) string
- func CookieName(url string) string
- func Count(m *ice.Message, arg ...string) *ice.Message
- func Domain(host, port string) string
- func Download(m *ice.Message, link string, cb func(count, total, value int)) *ice.Message
- func DreamAction() ice.Actions
- func DreamEach(m *ice.Message, name string, status string, cb func(string)) *ice.Message
- func DreamList(m *ice.Message) *ice.Message
- func DreamProcess(m *ice.Message, args ice.Any, arg ...string)
- func ExportCacheAction(field string) ice.Actions
- func GoToast(m *ice.Message, title string, ...) *ice.Message
- func HostPort(m *ice.Message, host, port string, arg ...string) string
- func IsLocalHost(m *ice.Message) bool
- func IsNotValidFieldShare(m *ice.Message, msg *ice.Message) bool
- func IsNotValidShare(m *ice.Message, time string) bool
- func P(arg ...string) string
- func PP(arg ...string) string
- func ParseLink(m *ice.Message, url string) ice.Maps
- func PodCmd(m *ice.Message, key string, arg ...string) bool
- func Prefix(arg ...string) string
- func ProcessIframe(m *ice.Message, name, link string, arg ...string)
- func ProcessPodCmd(m *ice.Message, pod, cmd string, arg ...ice.Any)
- func ProxyUpload(m *ice.Message, pod string, p string) string
- func PublicIP(m *ice.Message) ice.Any
- func PushDisplay(m *ice.Message, mime, name, link string)
- func PushImages(m *ice.Message, name string)
- func PushNotice(m *ice.Message, arg ...ice.Any)
- func PushNoticeGrow(m *ice.Message, arg ...ice.Any)
- func PushNoticeRefresh(m *ice.Message, arg ...ice.Any)
- func PushNoticeRich(m *ice.Message, arg ...ice.Any)
- func PushNoticeToast(m *ice.Message, arg ...ice.Any)
- func PushPodCmd(m *ice.Message, cmd string, arg ...string) *ice.Message
- func PushStats(m *ice.Message, name string, value ice.Any, arg ...string)
- func PushStream(m *ice.Message) *ice.Message
- func Render(m *ice.Message, cmd string, args ...ice.Any) bool
- func RenderCache(m *ice.Message, h string)
- func RenderCmd(m *ice.Message, cmd string, arg ...ice.Any)
- func RenderCmds(m *ice.Message, cmds ...ice.Any)
- func RenderCookie(m *ice.Message, value string, arg ...string) string
- func RenderDownload(m *ice.Message, arg ...ice.Any)
- func RenderHeader(w http.ResponseWriter, key, value string)
- func RenderMain(m *ice.Message) *ice.Message
- func RenderOrigin(w http.ResponseWriter, origin string)
- func RenderPodCmd(m *ice.Message, pod, cmd string, arg ...ice.Any)
- func RenderRedirect(m *ice.Message, arg ...ice.Any)
- func RenderResult(m *ice.Message, arg ...ice.Any)
- func RenderStatus(w http.ResponseWriter, code int, text string)
- func RenderTemplate(m *ice.Message, file string, arg ...ice.Any) *ice.Message
- func RenderType(w http.ResponseWriter, name, mime string)
- func RenderVersion(m *ice.Message) string
- func RequireFile(m *ice.Message, file string) string
- func S(arg ...string) string
- func Script(m *ice.Message, str string, arg ...ice.Any) string
- func ShareLocal(m *ice.Message, p string) string
- func ShareLocalFile(m *ice.Message, arg ...string)
- func SharePath(m *ice.Message, p string) string
- func Space(m *ice.Message, arg ice.Any) []string
- func SpideCache(m *ice.Message, link string) *ice.Message
- func SpideDelete(m *ice.Message, arg ...ice.Any) ice.Any
- func SpideGet(m *ice.Message, arg ...ice.Any) ice.Any
- func SpideOrigin(m *ice.Message, name string) string
- func SpidePost(m *ice.Message, arg ...ice.Any) ice.Any
- func SpidePut(m *ice.Message, arg ...ice.Any) ice.Any
- func SpideSave(m *ice.Message, file, link string, cb func(count, total, value int)) *ice.Message
- func SpideURL(m *ice.Message, name string) string
- func StatsAction(arg ...string) ice.Actions
- func Toast(m *ice.Message, text string, arg ...ice.Any) *ice.Message
- func ToastFailure(m *ice.Message, arg ...ice.Any)
- func ToastProcess(m *ice.Message, arg ...ice.Any) func(...ice.Any)
- func ToastSuccess(m *ice.Message, arg ...ice.Any)
- func Upload(m *ice.Message) []string
- func UserHost(m *ice.Message) string
- func UserWeb(m Message) *url.URL
- func X(arg ...string) string
- type Frame
- type Message
Constants ¶
View Source
const ( WATCH = "watch" CATCH = "catch" WRITE = "write" UPLOAD = "upload" DOWNLOAD = "download" PREVIEW = "preview" PAGES = "pages" IMAGE = "image" VIDEO = "video" )
View Source
const ( ALWAYS = "always" STARTALL = "startall" STOPALL = "stopall" FOR_EACH = "forEach" FOR_FLOW = "forFlow" PUBLISH = "publish" DREAM_CREATE = "dream.create" DREAM_REMOVE = "dream.remove" DREAM_START = "dream.start" DREAM_STOP = "dream.stop" DREAM_OPEN = "dream.open" DREAM_CLOSE = "dream.close" DREAM_TRASH = "dream.trash" DREAM_INPUTS = "dream.inputs" DREAM_TABLES = "dream.tables" DREAM_ACTION = "dream.action" )
View Source
const ( STATUS = "status" HEADER = "header" COOKIE = "cookie" REQUEST = "request" RESPONSE = "response" )
View Source
const ( CHAT = "chat" DESKTOP = "desktop" CODE_GIT_SERVICE = "web.code.git.service" CODE_GIT_SEARCH = "web.code.git.search" CODE_GIT_STATUS = "web.code.git.status" CODE_GIT_REPOS = "web.code.git.repos" CODE_AUTOGEN = "web.code.autogen" CODE_COMPILE = "web.code.compile" CODE_UPGRADE = "web.code.upgrade" CODE_PUBLISH = "web.code.publish" CODE_VIMER = "web.code.vimer" CODE_INNER = "web.code.inner" CODE_XTERM = "web.code.xterm" WIKI_FEEL = "web.wiki.feel" WIKI_DRAW = "web.wiki.draw" WIKI_WORD = "web.wiki.word" WIKI_PORTAL = "web.wiki.portal" CHAT_HEADER = "web.chat.header" CHAT_IFRAME = "web.chat.iframe" CHAT_OAUTH_CLIENT = "web.chat.oauth.client" CHAT_FAVOR = "web.chat.favor" CHAT_FLOWS = "web.chat.flows" CHAT_GRANT = "web.chat.grant" TEAM_PLAN = "web.team.plan" PLUGIN_XTERM = "/plugin/local/code/xterm.js" )
View Source
const ( ONLINE = "online" OFFLINE = "offline" )
View Source
const ( SSO = "sso" URL = "url" HTTP = "http" HTTPS = "https" DOMAIN = "domain" ORIGIN = "origin" FORM = "form" BODY = "body" HOME = "home" OPS_SERVER_OPEN = "ops.server.open" SERVE_START = "serve.start" )
View Source
const ( LOGIN = "login" RIVER = "river" STORM = "storm" FIELD = "field" LOCAL = "local" PROXY = "proxy" TOAST = "toast" SHARE_LOCAL = "/share/local/" SHARE_CACHE = "/share/cache/" )
View Source
const ( WEIXIN = "weixin" PORTAL = "portal" WORKER = "worker" SERVER = "server" MASTER = "master" REDIAL = "redial" AGENT = "agent" )
View Source
const ( SPACE_LOGIN = "space.login" SPACE_LOGIN_CLOSE = "space.login.close" SPACE_GRANT = "space.grant" SPACE_OPEN = "space.open" SPACE_CLOSE = "space.close" )
View Source
const ( SPIDE_RAW = "raw" SPIDE_MSG = "msg" SPIDE_SAVE = "save" SPIDE_CACHE = "cache" SPIDE_BODY = "body" SPIDE_FORM = "form" SPIDE_PART = "part" SPIDE_FILE = "file" SPIDE_DATA = "data" SPIDE_JSON = "json" SPIDE_RES = "content_data" IMAGE_JPEG = "image/jpeg" IMAGE_PNG = "image/png" TEXT_HTML = "text/html" TEXT_CSS = "text/css" )
View Source
const ( SPIDE_CLIENT = "client" SPIDE_METHOD = "method" SPIDE_COOKIE = "cookie" SPIDE_HEADER = "header" CLIENT_NAME = "client.name" CLIENT_METHOD = "client.method" CLIENT_TIMEOUT = "client.timeout" CLIENT_PROTOCOL = "client.protocol" CLIENT_HOSTNAME = "client.hostname" CLIENT_ORIGIN = "client.origin" CLIENT_URL = "client.url" OPEN = "open" MAIN = "main" FULL = "full" LINK = "link" MERGE = "merge" VENDOR = "vendor" QS = "?" )
View Source
const ADMIN = "admin"
View Source
const BROAD = "broad"
View Source
const CACHE = "cache"
View Source
const COUNT = "count"
View Source
const DREAM = "dream"
View Source
const ROUTE = "route"
View Source
const SERVE = "serve"
View Source
const SHARE = "share"
View Source
const SPACE = "space"
View Source
const SPIDE = "spide"
View Source
const STATS = "stats"
View Source
const (
STATS_TABLES = "stats.tables"
)
View Source
const TOKEN = "token"
View Source
const WEB = "web"
Variables ¶
Functions ¶
func BasicCheck ¶ added in v1.5.20
func Download ¶ added in v1.4.7
func DreamEach ¶ added in v1.6.5
func GoToast ¶ added in v1.3.0
func HostPort ¶ added in v1.5.19
func IsNotValidFieldShare ¶ added in v1.5.19
func ProcessIframe ¶ added in v1.4.2
func ProcessPodCmd ¶ added in v1.5.5
func PushPodCmd ¶ added in v1.3.0
func PushStats ¶ added in v1.8.1
func RenderHeader ¶ added in v0.4.1
func RenderHeader(w http.ResponseWriter, key, value string)
func RenderOrigin ¶ added in v1.5.5
func RenderOrigin(w http.ResponseWriter, origin string)
func RenderPodCmd ¶ added in v1.4.4
func RenderStatus ¶
func RenderStatus(w http.ResponseWriter, code int, text string)
func RenderTemplate ¶ added in v1.5.5
func RenderType ¶
func RenderType(w http.ResponseWriter, name, mime string)
func SpideSave ¶ added in v1.4.3
func ToastProcess ¶ added in v1.3.0
Types ¶
type Frame ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.