Files
moxa/stdlib/net_http.go

183 lines
13 KiB
Go

package stdlib
// Code generated by 'goexports net/http'. DO NOT EDIT.
import (
"net/http"
"reflect"
)
func init() {
Value["net/http"] = map[string]reflect.Value{
"CanonicalHeaderKey": reflect.ValueOf(http.CanonicalHeaderKey),
"DefaultClient": reflect.ValueOf(http.DefaultClient),
"DefaultMaxHeaderBytes": reflect.ValueOf(http.DefaultMaxHeaderBytes),
"DefaultMaxIdleConnsPerHost": reflect.ValueOf(http.DefaultMaxIdleConnsPerHost),
"DefaultServeMux": reflect.ValueOf(http.DefaultServeMux),
"DefaultTransport": reflect.ValueOf(http.DefaultTransport),
"DetectContentType": reflect.ValueOf(http.DetectContentType),
"ErrAbortHandler": reflect.ValueOf(http.ErrAbortHandler),
"ErrBodyNotAllowed": reflect.ValueOf(http.ErrBodyNotAllowed),
"ErrBodyReadAfterClose": reflect.ValueOf(http.ErrBodyReadAfterClose),
"ErrContentLength": reflect.ValueOf(http.ErrContentLength),
"ErrHandlerTimeout": reflect.ValueOf(http.ErrHandlerTimeout),
"ErrHeaderTooLong": reflect.ValueOf(http.ErrHeaderTooLong),
"ErrHijacked": reflect.ValueOf(http.ErrHijacked),
"ErrLineTooLong": reflect.ValueOf(http.ErrLineTooLong),
"ErrMissingBoundary": reflect.ValueOf(http.ErrMissingBoundary),
"ErrMissingContentLength": reflect.ValueOf(http.ErrMissingContentLength),
"ErrMissingFile": reflect.ValueOf(http.ErrMissingFile),
"ErrNoCookie": reflect.ValueOf(http.ErrNoCookie),
"ErrNoLocation": reflect.ValueOf(http.ErrNoLocation),
"ErrNotMultipart": reflect.ValueOf(http.ErrNotMultipart),
"ErrNotSupported": reflect.ValueOf(http.ErrNotSupported),
"ErrServerClosed": reflect.ValueOf(http.ErrServerClosed),
"ErrShortBody": reflect.ValueOf(http.ErrShortBody),
"ErrSkipAltProtocol": reflect.ValueOf(http.ErrSkipAltProtocol),
"ErrUnexpectedTrailer": reflect.ValueOf(http.ErrUnexpectedTrailer),
"ErrUseLastResponse": reflect.ValueOf(http.ErrUseLastResponse),
"ErrWriteAfterFlush": reflect.ValueOf(http.ErrWriteAfterFlush),
"Error": reflect.ValueOf(http.Error),
"FileServer": reflect.ValueOf(http.FileServer),
"Get": reflect.ValueOf(http.Get),
"Handle": reflect.ValueOf(http.Handle),
"HandleFunc": reflect.ValueOf(http.HandleFunc),
"Head": reflect.ValueOf(http.Head),
"ListenAndServe": reflect.ValueOf(http.ListenAndServe),
"ListenAndServeTLS": reflect.ValueOf(http.ListenAndServeTLS),
"LocalAddrContextKey": reflect.ValueOf(http.LocalAddrContextKey),
"MaxBytesReader": reflect.ValueOf(http.MaxBytesReader),
"MethodConnect": reflect.ValueOf(http.MethodConnect),
"MethodDelete": reflect.ValueOf(http.MethodDelete),
"MethodGet": reflect.ValueOf(http.MethodGet),
"MethodHead": reflect.ValueOf(http.MethodHead),
"MethodOptions": reflect.ValueOf(http.MethodOptions),
"MethodPatch": reflect.ValueOf(http.MethodPatch),
"MethodPost": reflect.ValueOf(http.MethodPost),
"MethodPut": reflect.ValueOf(http.MethodPut),
"MethodTrace": reflect.ValueOf(http.MethodTrace),
"NewFileTransport": reflect.ValueOf(http.NewFileTransport),
"NewRequest": reflect.ValueOf(http.NewRequest),
"NewServeMux": reflect.ValueOf(http.NewServeMux),
"NoBody": reflect.ValueOf(http.NoBody),
"NotFound": reflect.ValueOf(http.NotFound),
"NotFoundHandler": reflect.ValueOf(http.NotFoundHandler),
"ParseHTTPVersion": reflect.ValueOf(http.ParseHTTPVersion),
"ParseTime": reflect.ValueOf(http.ParseTime),
"Post": reflect.ValueOf(http.Post),
"PostForm": reflect.ValueOf(http.PostForm),
"ProxyFromEnvironment": reflect.ValueOf(http.ProxyFromEnvironment),
"ProxyURL": reflect.ValueOf(http.ProxyURL),
"ReadRequest": reflect.ValueOf(http.ReadRequest),
"ReadResponse": reflect.ValueOf(http.ReadResponse),
"Redirect": reflect.ValueOf(http.Redirect),
"RedirectHandler": reflect.ValueOf(http.RedirectHandler),
"SameSiteDefaultMode": reflect.ValueOf(http.SameSiteDefaultMode),
"SameSiteLaxMode": reflect.ValueOf(http.SameSiteLaxMode),
"SameSiteStrictMode": reflect.ValueOf(http.SameSiteStrictMode),
"Serve": reflect.ValueOf(http.Serve),
"ServeContent": reflect.ValueOf(http.ServeContent),
"ServeFile": reflect.ValueOf(http.ServeFile),
"ServeTLS": reflect.ValueOf(http.ServeTLS),
"ServerContextKey": reflect.ValueOf(http.ServerContextKey),
"SetCookie": reflect.ValueOf(http.SetCookie),
"StateActive": reflect.ValueOf(http.StateActive),
"StateClosed": reflect.ValueOf(http.StateClosed),
"StateHijacked": reflect.ValueOf(http.StateHijacked),
"StateIdle": reflect.ValueOf(http.StateIdle),
"StateNew": reflect.ValueOf(http.StateNew),
"StatusAccepted": reflect.ValueOf(http.StatusAccepted),
"StatusAlreadyReported": reflect.ValueOf(http.StatusAlreadyReported),
"StatusBadGateway": reflect.ValueOf(http.StatusBadGateway),
"StatusBadRequest": reflect.ValueOf(http.StatusBadRequest),
"StatusConflict": reflect.ValueOf(http.StatusConflict),
"StatusContinue": reflect.ValueOf(http.StatusContinue),
"StatusCreated": reflect.ValueOf(http.StatusCreated),
"StatusExpectationFailed": reflect.ValueOf(http.StatusExpectationFailed),
"StatusFailedDependency": reflect.ValueOf(http.StatusFailedDependency),
"StatusForbidden": reflect.ValueOf(http.StatusForbidden),
"StatusFound": reflect.ValueOf(http.StatusFound),
"StatusGatewayTimeout": reflect.ValueOf(http.StatusGatewayTimeout),
"StatusGone": reflect.ValueOf(http.StatusGone),
"StatusHTTPVersionNotSupported": reflect.ValueOf(http.StatusHTTPVersionNotSupported),
"StatusIMUsed": reflect.ValueOf(http.StatusIMUsed),
"StatusInsufficientStorage": reflect.ValueOf(http.StatusInsufficientStorage),
"StatusInternalServerError": reflect.ValueOf(http.StatusInternalServerError),
"StatusLengthRequired": reflect.ValueOf(http.StatusLengthRequired),
"StatusLocked": reflect.ValueOf(http.StatusLocked),
"StatusLoopDetected": reflect.ValueOf(http.StatusLoopDetected),
"StatusMethodNotAllowed": reflect.ValueOf(http.StatusMethodNotAllowed),
"StatusMisdirectedRequest": reflect.ValueOf(http.StatusMisdirectedRequest),
"StatusMovedPermanently": reflect.ValueOf(http.StatusMovedPermanently),
"StatusMultiStatus": reflect.ValueOf(http.StatusMultiStatus),
"StatusMultipleChoices": reflect.ValueOf(http.StatusMultipleChoices),
"StatusNetworkAuthenticationRequired": reflect.ValueOf(http.StatusNetworkAuthenticationRequired),
"StatusNoContent": reflect.ValueOf(http.StatusNoContent),
"StatusNonAuthoritativeInfo": reflect.ValueOf(http.StatusNonAuthoritativeInfo),
"StatusNotAcceptable": reflect.ValueOf(http.StatusNotAcceptable),
"StatusNotExtended": reflect.ValueOf(http.StatusNotExtended),
"StatusNotFound": reflect.ValueOf(http.StatusNotFound),
"StatusNotImplemented": reflect.ValueOf(http.StatusNotImplemented),
"StatusNotModified": reflect.ValueOf(http.StatusNotModified),
"StatusOK": reflect.ValueOf(http.StatusOK),
"StatusPartialContent": reflect.ValueOf(http.StatusPartialContent),
"StatusPaymentRequired": reflect.ValueOf(http.StatusPaymentRequired),
"StatusPermanentRedirect": reflect.ValueOf(http.StatusPermanentRedirect),
"StatusPreconditionFailed": reflect.ValueOf(http.StatusPreconditionFailed),
"StatusPreconditionRequired": reflect.ValueOf(http.StatusPreconditionRequired),
"StatusProcessing": reflect.ValueOf(http.StatusProcessing),
"StatusProxyAuthRequired": reflect.ValueOf(http.StatusProxyAuthRequired),
"StatusRequestEntityTooLarge": reflect.ValueOf(http.StatusRequestEntityTooLarge),
"StatusRequestHeaderFieldsTooLarge": reflect.ValueOf(http.StatusRequestHeaderFieldsTooLarge),
"StatusRequestTimeout": reflect.ValueOf(http.StatusRequestTimeout),
"StatusRequestURITooLong": reflect.ValueOf(http.StatusRequestURITooLong),
"StatusRequestedRangeNotSatisfiable": reflect.ValueOf(http.StatusRequestedRangeNotSatisfiable),
"StatusResetContent": reflect.ValueOf(http.StatusResetContent),
"StatusSeeOther": reflect.ValueOf(http.StatusSeeOther),
"StatusServiceUnavailable": reflect.ValueOf(http.StatusServiceUnavailable),
"StatusSwitchingProtocols": reflect.ValueOf(http.StatusSwitchingProtocols),
"StatusTeapot": reflect.ValueOf(http.StatusTeapot),
"StatusTemporaryRedirect": reflect.ValueOf(http.StatusTemporaryRedirect),
"StatusText": reflect.ValueOf(http.StatusText),
"StatusTooManyRequests": reflect.ValueOf(http.StatusTooManyRequests),
"StatusUnauthorized": reflect.ValueOf(http.StatusUnauthorized),
"StatusUnavailableForLegalReasons": reflect.ValueOf(http.StatusUnavailableForLegalReasons),
"StatusUnprocessableEntity": reflect.ValueOf(http.StatusUnprocessableEntity),
"StatusUnsupportedMediaType": reflect.ValueOf(http.StatusUnsupportedMediaType),
"StatusUpgradeRequired": reflect.ValueOf(http.StatusUpgradeRequired),
"StatusUseProxy": reflect.ValueOf(http.StatusUseProxy),
"StatusVariantAlsoNegotiates": reflect.ValueOf(http.StatusVariantAlsoNegotiates),
"StripPrefix": reflect.ValueOf(http.StripPrefix),
"TimeFormat": reflect.ValueOf(http.TimeFormat),
"TimeoutHandler": reflect.ValueOf(http.TimeoutHandler),
"TrailerPrefix": reflect.ValueOf(http.TrailerPrefix),
}
Type["net/http"] = map[string]reflect.Type{
"Client": reflect.TypeOf((*http.Client)(nil)).Elem(),
"CloseNotifier": reflect.TypeOf((*http.CloseNotifier)(nil)).Elem(),
"ConnState": reflect.TypeOf((*http.ConnState)(nil)).Elem(),
"Cookie": reflect.TypeOf((*http.Cookie)(nil)).Elem(),
"CookieJar": reflect.TypeOf((*http.CookieJar)(nil)).Elem(),
"Dir": reflect.TypeOf((*http.Dir)(nil)).Elem(),
"File": reflect.TypeOf((*http.File)(nil)).Elem(),
"FileSystem": reflect.TypeOf((*http.FileSystem)(nil)).Elem(),
"Flusher": reflect.TypeOf((*http.Flusher)(nil)).Elem(),
"Handler": reflect.TypeOf((*http.Handler)(nil)).Elem(),
"HandlerFunc": reflect.TypeOf((*http.HandlerFunc)(nil)).Elem(),
"Header": reflect.TypeOf((*http.Header)(nil)).Elem(),
"Hijacker": reflect.TypeOf((*http.Hijacker)(nil)).Elem(),
"ProtocolError": reflect.TypeOf((*http.ProtocolError)(nil)).Elem(),
"PushOptions": reflect.TypeOf((*http.PushOptions)(nil)).Elem(),
"Pusher": reflect.TypeOf((*http.Pusher)(nil)).Elem(),
"Request": reflect.TypeOf((*http.Request)(nil)).Elem(),
"Response": reflect.TypeOf((*http.Response)(nil)).Elem(),
"ResponseWriter": reflect.TypeOf((*http.ResponseWriter)(nil)).Elem(),
"RoundTripper": reflect.TypeOf((*http.RoundTripper)(nil)).Elem(),
"SameSite": reflect.TypeOf((*http.SameSite)(nil)).Elem(),
"ServeMux": reflect.TypeOf((*http.ServeMux)(nil)).Elem(),
"Server": reflect.TypeOf((*http.Server)(nil)).Elem(),
"Transport": reflect.TypeOf((*http.Transport)(nil)).Elem(),
}
}