Documentation ¶
Index ¶
- Variables
- func EndHTTPAsyn(w http.ResponseWriter) int
- func EndHTTPAsyn2(w http.ResponseWriter) error
- func Handle(pattern string, handler http.Handler)
- func HandleFunc(pattern string, fun func(http.ResponseWriter, *http.Request))
- func ListenAndServe(addr string, handler http.Handler, run zbrun.Runner) error
- func ListenAndServe2(svr *http.Server, run zbrun.Runner) error
- func SetHTTPAsyn(w http.ResponseWriter) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWriterHadEnded = errors.New("http: not settable http.ResponseWriter")
ErrWriterHadEnded http: not settable http.ResponseWriter
View Source
var ErrWriterNotAsyn = errors.New("http: not in asynchronous")
ErrWriterNotAsyn http: not in asynchronous
View Source
var ErrWriterNotSettable = errors.New("http: not settable http.ResponseWriter")
ErrWriterNotSettable http: not settable http.ResponseWriter.
Functions ¶
func EndHTTPAsyn ¶
func EndHTTPAsyn(w http.ResponseWriter) int
func HandleFunc ¶
func HandleFunc(pattern string, fun func(http.ResponseWriter, *http.Request))
func ListenAndServe ¶
func SetHTTPAsyn ¶
func SetHTTPAsyn(w http.ResponseWriter) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.