Documentation
¶
Index ¶
- func Pd(dic *DicTools, path, str string) bool
- type Build
- type Dic
- type DicEntry
- func (r *DicEntry) CloseTrigger() *DicEntry
- func (r *DicEntry) OpenTrigger()
- func (r *DicEntry) Run() string
- func (r *DicEntry) SetDic(s *dto.BuildValue) *DicEntry
- func (r *DicEntry) SetDic_v(v *dto.BuildValue) *DicEntry
- func (r *DicEntry) SetGlobal_v(v *dto.Val) *DicEntry
- func (r *DicEntry) SetPath(s string) *DicEntry
- func (r *DicEntry) SetRunFor() *DicEntry
- func (r *DicEntry) SetRunIf() *DicEntry
- func (r *DicEntry) SetText(s []string) *DicEntry
- func (r *DicEntry) Set_v(v *dto.Val) *DicEntry
- type DicFunc
- type DicTools
- type IfText
- type PostFile
- type RequestInfo
- type ServeRouter
- type SetCookie
- type WebDic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dic ¶
type DicEntry ¶
type DicEntry struct { // 返回信息 Output *dto.SingleValue Text []string G_v *dto.Val V *dto.Val Sys_v *dto.LocalDicValue Trigger bool Path string Dic *dto.BuildValue }
run
func (*DicEntry) CloseTrigger ¶
func (*DicEntry) OpenTrigger ¶
func (r *DicEntry) OpenTrigger()
type DicFunc ¶
type DicFunc struct { // 套娃 Open bool // 全局变量 GV *dto.Val // 局部变量 V *dto.Val // 系统变量 Sys *dto.LocalDicValue // 全局路径 Path string // 准备输出内容 Output *dto.SingleValue Dic *dto.BuildValue }
func
type IfText ¶
type IfText struct{}
if
func (*IfText) EvaluateExpression ¶
评估一个表达式的真假值
type RequestInfo ¶
type RequestInfo struct { Path string `json:"路径"` Type string `json:"来源"` QueryParams url.Values `json:"GET,omitempty"` Headers http.Header `json:"请求头"` IP string `json:"IP"` Host string `json:"Host"` Post interface{} `json:"POST,omitempty"` PostFile map[string][]*PostFile `json:"POSTFile,omitempty"` }
type ServeRouter ¶
type ServeRouter struct { Ws bool WsConfig *websocket.Upgrader Cache bool // contains filtered or unexported fields }
func (*ServeRouter) WebRun ¶
func (s *ServeRouter) WebRun(w http.ResponseWriter, r *http.Request)
路由
Click to show internal directories.
Click to hide internal directories.