Documentation ¶
Index ¶
- type Server
- func (this *Server) Handle(path string, handler http.Handler) *mux.Route
- func (this *Server) HandleFunc(path string, f func(http.ResponseWriter, *http.Request)) *mux.Route
- func (this *Server) Start(addr string)
- func (this *Server) StrictSlash(val bool) *mux.Router
- func (this *Server) Use(handler negroni.Handler)
- func (this *Server) UseFunc(...)
- func (this *Server) UseHandler(handler http.Handler)
- func (this *Server) UseHandlerFunc(handlerFunc func(rw http.ResponseWriter, r *http.Request))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) HandleFunc ¶
router
func (*Server) UseFunc ¶
func (this *Server) UseFunc(handlerFunc func(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc))
func (*Server) UseHandler ¶
func (*Server) UseHandlerFunc ¶
func (this *Server) UseHandlerFunc(handlerFunc func(rw http.ResponseWriter, r *http.Request))
Click to show internal directories.
Click to hide internal directories.