Documentation ¶
Index ¶
- func BingPic(w http.ResponseWriter, r *http.Request)
- func Check(h http.Handler) http.Handler
- func Error(w http.ResponseWriter, code int, format string, a ...interface{})
- func GroupAdd(w http.ResponseWriter, r *http.Request)
- func GroupEdit(w http.ResponseWriter, r *http.Request)
- func Home(w http.ResponseWriter, r *http.Request)
- func Install(path string, debug bool, s *mux.Router) http.Handler
- func Limit(b int, f func(http.ResponseWriter, *http.Request)) http.Handler
- func LogHandler(h http.Handler) http.Handler
- func Login(w http.ResponseWriter, r *http.Request)
- func Logout(w http.ResponseWriter, r *http.Request)
- func Logs(w http.ResponseWriter, r *http.Request)
- func Password(w http.ResponseWriter, r *http.Request)
- func Profile(w http.ResponseWriter, r *http.Request)
- func Upload(w http.ResponseWriter, r *http.Request)
- func UserAdd(w http.ResponseWriter, r *http.Request)
- func UserDelete(w http.ResponseWriter, r *http.Request)
- func Users(w http.ResponseWriter, r *http.Request)
- func Watch(tpl string, r *mux.Router) error
- type RouterWrap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RouterWrap ¶
RouterWrap 路由封装
func (RouterWrap) HandleFunc ¶
func (r RouterWrap) HandleFunc(path string, h http.HandlerFunc) *mux.Route
HandleFunc 反射函数名
Click to show internal directories.
Click to hide internal directories.