Documentation
¶
Index ¶
- func FindRule(text string) [][]string
- func ParseOffset(req *model.Request) []*model.Request
- func ParseParamCtx(req *model.Request, rules [][]string, ctx map[string]interface{}) ([]*model.Request, bool)
- func ParseReq(reqs []*model.Request, ctx map[string]interface{}) []*model.Request
- func PraseOr(req *model.Request) []*model.Request
- func ToUtf8(html []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseOffset ¶
http://xxxxxxxx.com/abc/{begin-end,offset}/ example:{1-400,10}
func ParseParamCtx ¶
func PraseOr ¶
http://xxxxxxxx.com/abc/{id1|id2|id3}/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.