Documentation ¶
Index ¶
- func Auth(context *goku.Context, res http.ResponseWriter, req *http.Request) (bool, string)
- func CreateRequest(g *goku.Context, httpRequest *http.Request, httpResponse http.ResponseWriter) (int, []byte, map[string][]string)
- func GetVisitCount(res http.ResponseWriter, req *http.Request, param goku.Params, ...)
- func IPLimit(g *goku.Context, res http.ResponseWriter, req *http.Request) (bool, string)
- func InterceptIP(str, substr string) string
- func Mapping(res http.ResponseWriter, req *http.Request, param goku.Params, ...)
- func RateLimit(context *goku.Context) (bool, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRequest ¶
func CreateRequest(g *goku.Context, httpRequest *http.Request, httpResponse http.ResponseWriter) (int, []byte, map[string][]string)
将请求参数写入请求中
func GetVisitCount ¶
func InterceptIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.