Documentation ¶
Overview ¶
Package rule
@author: xwc1125
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RewriteHandler ¶
type RewriteHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(rules map[string]string) RewriteHandler
func (*RewriteHandler) ServeHTTP ¶
func (h *RewriteHandler) ServeHTTP(res http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.