Documentation ¶
Overview ¶
The gmoryx(gomobile oryx APIs) http package exported for mobile.
The gmoryx(gomobile oryx APIs) http package exported for mobile.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpHandle ¶
func HttpHandle(pattern string, handler HttpHandler)
func HttpListenAndServe ¶
func HttpListenAndServe(addr string, handler HttpHandler) (err error)
func HttpShutdown ¶
func HttpShutdown() (err error)
func SetHeader ¶
func SetHeader(w HttpResponseWriter)
Types ¶
type HttpHandler ¶
type HttpHandler interface {
ServeHTTP(HttpResponseWriter, *HttpRequest)
}
type HttpRequest ¶
type HttpRequest struct {
// contains filtered or unexported fields
}
type HttpResponseWriter ¶
Click to show internal directories.
Click to hide internal directories.