Documentation ¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:43 +05 2020. DO NOT EDIT.
Index ¶
- func CanonicalHeaderKey(s string) string
- func ClientDo(c *http.Client, req *http.Request) (*http.Response, error)
- func ClientGet(c *http.Client, url string) (*http.Response, error)
- func ClientHead(c *http.Client, url string) (*http.Response, error)
- func ClientPost(c *http.Client, url, contentType string, body io.Reader) (*http.Response, error)
- func ClientPostForm(c *http.Client, url string, data url.Values) (*http.Response, error)
- func ConnStateString(c http.ConnState) string
- func CookieString(c *http.Cookie) string
- func DetectContentType(data []byte) string
- func DirOpen(d http.Dir, name string) (http.File, error)
- func FileServer(root http.FileSystem) http.Handler
- func Get(url string) (*http.Response, error)
- func Head(url string) (*http.Response, error)
- func HeaderClone(h http.Header) http.Header
- func HeaderGet(h http.Header, key string) string
- func HeaderValues(h http.Header, key string) []string
- func HeaderWrite(h http.Header, w io.Writer) error
- func HeaderWriteSubset(h http.Header, w io.Writer, exclude map[string]bool) error
- func ListenAndServe(addr string, handler http.Handler) error
- func ListenAndServeTLS(addr, certFile, keyFile string, handler http.Handler) error
- func MaxBytesReader(w http.ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser
- func NewFileTransport(fs http.FileSystem) http.RoundTripper
- func NewRequest(method, url string, body io.Reader) (*http.Request, error)
- func NewRequestWithContext(ctx context.Context, method, url string, body io.Reader) (*http.Request, error)
- func NewServeMux() *http.ServeMux
- func NotFoundHandler() http.Handler
- func ParseHTTPVersion(vers string) (int, int, bool)
- func ParseTime(text string) (time.Time, error)
- func Post(url, contentType string, body io.Reader) (*http.Response, error)
- func PostForm(url string, data url.Values) (*http.Response, error)
- func ProtocolErrorError(pe *http.ProtocolError) string
- func ProxyFromEnvironment(req *http.Request) (*url.URL, error)
- func ProxyURL(fixedURL *url.URL) func(*http.Request) (*url.URL, error)
- func ReadRequest(b *bufio.Reader) (*http.Request, error)
- func ReadResponse(r *bufio.Reader, req *http.Request) (*http.Response, error)
- func RedirectHandler(url string, code int) http.Handler
- func RequestBasicAuth(r *http.Request) (string, string, bool)
- func RequestClone(r *http.Request, ctx context.Context) *http.Request
- func RequestContext(r *http.Request) context.Context
- func RequestCookie(r *http.Request, name string) (*http.Cookie, error)
- func RequestCookies(r *http.Request) []*http.Cookie
- func RequestFormFile(r *http.Request, key string) (multipart.File, *multipart.FileHeader, error)
- func RequestFormValue(r *http.Request, key string) string
- func RequestMultipartReader(r *http.Request) (*multipart.Reader, error)
- func RequestParseForm(r *http.Request) error
- func RequestParseMultipartForm(r *http.Request, maxMemory int64) error
- func RequestPostFormValue(r *http.Request, key string) string
- func RequestProtoAtLeast(r *http.Request, major, minor int) bool
- func RequestReferer(r *http.Request) string
- func RequestUserAgent(r *http.Request) string
- func RequestWithContext(r *http.Request, ctx context.Context) *http.Request
- func RequestWrite(r *http.Request, w io.Writer) error
- func RequestWriteProxy(r *http.Request, w io.Writer) error
- func ResponseCookies(r *http.Response) []*http.Cookie
- func ResponseLocation(r *http.Response) (*url.URL, error)
- func ResponseProtoAtLeast(r *http.Response, major, minor int) bool
- func ResponseWrite(r *http.Response, w io.Writer) error
- func Serve(l net.Listener, handler http.Handler) error
- func ServeMuxHandler(mux *http.ServeMux, r *http.Request) (http.Handler, string)
- func ServeTLS(l net.Listener, handler http.Handler, certFile, keyFile string) error
- func ServerClose(srv *http.Server) error
- func ServerListenAndServe(srv *http.Server) error
- func ServerListenAndServeTLS(srv *http.Server, certFile, keyFile string) error
- func ServerServe(srv *http.Server, l net.Listener) error
- func ServerServeTLS(srv *http.Server, l net.Listener, certFile, keyFile string) error
- func ServerShutdown(srv *http.Server, ctx context.Context) error
- func StatusText(code int) string
- func StripPrefix(prefix string, h http.Handler) http.Handler
- func TimeoutHandler(h http.Handler, dt time.Duration, msg string) http.Handler
- func TransportClone(t *http.Transport) *http.Transport
- func TransportRoundTrip(t *http.Transport, req *http.Request) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalHeaderKey ¶
func ClientPost ¶
func ClientPostForm ¶
func ConnStateString ¶
func CookieString ¶
func DetectContentType ¶
func FileServer ¶
func FileServer(root http.FileSystem) http.Handler
func HeaderWriteSubset ¶
func ListenAndServeTLS ¶
func MaxBytesReader ¶
func MaxBytesReader(w http.ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser
func NewFileTransport ¶
func NewFileTransport(fs http.FileSystem) http.RoundTripper
func NewRequestWithContext ¶
func NewServeMux ¶
func NotFoundHandler ¶
func ProtocolErrorError ¶
func ProtocolErrorError(pe *http.ProtocolError) string
func RequestFormFile ¶
func RequestMultipartReader ¶
func RequestParseForm ¶
func RequestReferer ¶
func RequestUserAgent ¶
func RequestWithContext ¶
func ServeMuxHandler ¶
func ServerClose ¶
func ServerListenAndServe ¶
func ServerListenAndServeTLS ¶
func ServerServeTLS ¶
func StatusText ¶
func TimeoutHandler ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
This file has automatically been generated on Wed Feb 26 15:50:43 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:43 +05 2020. |
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020. |
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020. |
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020. |
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020. |
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:44 +05 2020. |
This file has automatically been generated on Wed Feb 26 15:50:45 +05 2020.
|
This file has automatically been generated on Wed Feb 26 15:50:45 +05 2020. |
Click to show internal directories.
Click to hide internal directories.