Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServeMux ¶
func NewStreamWriter ¶
func NewStreamWriter(w http.ResponseWriter) io.Writer
Types ¶
type StreamWriter ¶
type StreamWriter struct {
// contains filtered or unexported fields
}
type VarHandler ¶
type VarHandler interface {
ServeHTTP(w http.ResponseWriter, r *http.Request, args []string)
}
type VarHandlerFunc ¶
type VarHandlerFunc func(http.ResponseWriter, *http.Request, []string)
func (VarHandlerFunc) ServeHTTP ¶
func (n VarHandlerFunc) ServeHTTP(w http.ResponseWriter, r *http.Request, args []string)
type VarServeMux ¶
type VarServeMux struct {
// contains filtered or unexported fields
}
func (*VarServeMux) Handle ¶
func (v *VarServeMux) Handle(pattern string, handler VarHandler)
func (*VarServeMux) HandleFunc ¶
func (v *VarServeMux) HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request, []string))
func (*VarServeMux) ServeHTTP ¶
func (v *VarServeMux) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.