Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RenderPlugin ¶
type RenderPlugin interface {
Handle(dataCollection []*data.AnalyseData) ([]*data.AnalyseData, []ReqHandler)
}
RenderPlugin 渲染数据处理器
func RenderPlugins ¶
func RenderPlugins() []RenderPlugin
type ReqHandler ¶
type ReqHandler struct { Pattern string Handler func(http.ResponseWriter, *http.Request) }
ReqHandler 请求处理器
func BuildReqHandler ¶
func BuildReqHandler(pattern string, handler func(http.ResponseWriter, *http.Request)) ReqHandler
BuildReqHandler 创建请求处理器
Click to show internal directories.
Click to hide internal directories.