mirror of
https://github.com/Dvorinka/Devour.git
synced 2026-06-04 04:23:02 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# Docker Compose - Ask me about Docker
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Ask me about Docker](#ask-me-about-docker)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Ask me about Docker
|
||||
|
||||
Get instant answers to your Docker questions. I can help with
|
||||
commands, concepts, troubleshooting, and best practices.
|
||||
Try asking:
|
||||
How do Docker Hardened Images work?
|
||||
|
||||
What is MCP Toolkit?
|
||||
|
||||
How do I create an org?
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - Browse common FAQs
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
| **Page_title** | Docker Compose |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Browse common FAQs](#browse-common-faqs)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Browse common FAQs
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,33 @@
|
||||
# Docker Compose - Docker Compose
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Doc_type** | docker-section |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Docker Compose](#docker-compose)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Docker Compose
|
||||
|
||||
Copy as Markdown
|
||||
|
||||
Open Markdown
|
||||
|
||||
Ask Docs AI
|
||||
|
||||
Claude
|
||||
Open in Claudefunction getCurrentPlaintextUrl(){const e=window.location.href.split("#")[0].replace(/\/$/,"");return`${e}.md`}function copyMarkdown(){fetch(getCurrentPlaintextUrl()).then(e=>e.text()).then(e=>{navigator.clipboard.writeText(e).then(()=>{const e=document.querySelector('[data-heap-id="copy-markdown-button"]');if(!e)return;const t=e.querySelectorAll(".icon-svg"),n=t[0],s=t[1];n.classList.add("hidden"),s.classList.remove("hidden"),setTimeout(()=>{n.classList.remove("hidden"),s.classList.add("hidden")},2e3)})}).catch(e=>{console.error("Error copying markdown:",e)})}function viewPlainText(){window.open(getCurrentPlaintextUrl(),"_blank")}function openInDocsAI(){const e=document.querySelector(".open-kapa-widget");e?e.click():alert("Couldn't find Docs AI.")}function openInClaude(){const e=getCurrentPlaintextUrl(),t=`Read ${e} so I can ask questions about it.`,n=encodeURIComponent(t),s=`[https://claude.ai/new?q=${n}`;window.open(s,"_blank")](https://claude.ai/new?q=${n}`;window.open(s,"_blank"))}
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - Explore the Compose file reference
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Explore the Compose file reference](#explore-the-compose-file-reference)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Explore the Compose file reference
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - How Compose works
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [How Compose works](#how-compose-works)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# How Compose works
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - Install Compose
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Install Compose](#install-compose)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Install Compose
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - Quickstart
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
| **Page_title** | Docker Compose |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Quickstart](#quickstart)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Quickstart
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - Use Compose Bridge
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Use Compose Bridge](#use-compose-bridge)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Use Compose Bridge
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - View the release notes
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Doc_type** | docker-section |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [View the release notes](#view-the-release-notes)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# View the release notes
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,24 @@
|
||||
# Docker Compose - Why use Compose?
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-section` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Page_title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-section |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Why use Compose?](#why-use-compose)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Why use Compose?
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
@@ -0,0 +1,26 @@
|
||||
# Docker Compose
|
||||
|
||||
## 📋 Document Information
|
||||
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| **Source** | https://docs.docker.com/compose |
|
||||
| **Type** | `docker-docs` |
|
||||
| **Scraped** | 2026-02-19 12:18:51 |
|
||||
| **Title** | Docker Compose |
|
||||
| **Doc_url** | https://docs.docker.com/compose |
|
||||
| **Doc_type** | docker-docs |
|
||||
|
||||
## 📑 Table of Contents
|
||||
|
||||
- [Docker Compose](#docker-compose)
|
||||
|
||||
## 📚 Content
|
||||
|
||||
# Docker Compose
|
||||
|
||||
Learn how to use Docker Compose to define and run multi-container applications with this detailed introduction to the tool.
|
||||
---
|
||||
|
||||
*Document scraped by [Devour](https://github.com/yourorg/devour) on 2026-02-19 12:18:51*
|
||||
*Source: [https://docs.docker.com/compose](https://docs.docker.com/compose)*
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "f21ffb226ab0619b0f70d174",
|
||||
"source": "http",
|
||||
"type": "go-variable",
|
||||
"title": "http.ErrNotSupported (var)",
|
||||
"content": "# Variables\n\nErrors used by the HTTP server.\n\n```go\nvar ErrNotSupported is not available. = \u0026ProtocolError{\"feature not supported\"}\n```",
|
||||
"url": "https://pkg.go.dev/http",
|
||||
"metadata": {
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "variable",
|
||||
"name": "ErrNotSupported",
|
||||
"package": "http",
|
||||
"type": "is not available."
|
||||
},
|
||||
"hash": "b6c75246aaa9b9582da39fd4ab200ffd729e54974ff0be9edeec6ce9252b848e",
|
||||
"timestamp": "2026-02-19T12:17:17.237762825+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "65ee1b48edad2954c6080431",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func CanonicalHeaderKey ¶",
|
||||
"content": "# http.func CanonicalHeaderKey ¶\n\n```\nfunc CanonicalHeaderKey(s string) string\n```\n\nCanonicalHeaderKey returns the canonical format of the\nheader key s. The canonicalization converts the first\nletter and any letter following a hyphen to upper case;\nthe rest are converted to lowercase. For example, the\ncanonical key for \"accept-encoding\" is \"Accept-Encoding\".\nIf s contains a space or invalid header field bytes, it is\nreturned without modifications.",
|
||||
"url": "https://pkg.go.dev/http#func CanonicalHeaderKey ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func CanonicalHeaderKey(s string) string",
|
||||
"symbol": "func CanonicalHeaderKey ¶"
|
||||
},
|
||||
"hash": "5ee382fb9f4925b7e1b28ac65e836e1527a870f5f5435af7f924377207bef78d",
|
||||
"timestamp": "2026-02-19T12:17:17.237466038+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "23426e9d0a96a5444a7f0951",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func DetectContentType ¶",
|
||||
"content": "# http.func DetectContentType ¶\n\n```\nfunc DetectContentType(data []byte) string\n```\n\nDetectContentType implements the algorithm described\nat https://mimesniff.spec.whatwg.org/ to determine the\nContent-Type of the given data. It considers at most the\nfirst 512 bytes of data. DetectContentType always returns\na valid MIME type: if it cannot determine a more specific one, it\nreturns \"application/octet-stream\".",
|
||||
"url": "https://pkg.go.dev/http#func DetectContentType ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func DetectContentType(data []byte) string",
|
||||
"symbol": "func DetectContentType ¶"
|
||||
},
|
||||
"hash": "73dce1ebbfa64132571a04d319d15aca387bc1d958f57cabb698395253920d02",
|
||||
"timestamp": "2026-02-19T12:17:17.237470527+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "a6ee9f24ba2d3043479c6415",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func Error ¶",
|
||||
"content": "# http.func Error ¶\n\n```\nfunc Error(w ResponseWriter, error string, code int)\n```\n\nError replies to the request with the specified error message and HTTP code.\nIt does not otherwise end the request; the caller should ensure no further\nwrites are done to w.\nThe error message should be plain text.",
|
||||
"url": "https://pkg.go.dev/http#func Error ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func Error(w ResponseWriter, error string, code int)",
|
||||
"symbol": "func Error ¶"
|
||||
},
|
||||
"hash": "53edeac9e466955b0d5e71b80793c059b7452ead3a8ca466e801530dc8f92edc",
|
||||
"timestamp": "2026-02-19T12:17:17.237474404+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "9542cc517b3a451a83da86a7",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func Handle ¶",
|
||||
"content": "# http.func Handle ¶\n\n```\nfunc Handle(pattern string, handler Handler)\n```\n\nHandle registers the handler for the given pattern in DefaultServeMux.\nThe documentation for ServeMux explains how patterns are matched.",
|
||||
"url": "https://pkg.go.dev/http#func Handle ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func Handle(pattern string, handler Handler)",
|
||||
"symbol": "func Handle ¶"
|
||||
},
|
||||
"hash": "25d30d4ef952131e9a0e2fd270490853ffe06894dd92697aab998f852fd8a9ed",
|
||||
"timestamp": "2026-02-19T12:17:17.237479644+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "49614b7cafdfa80e31f4cc82",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func HandleFunc ¶",
|
||||
"content": "# http.func HandleFunc ¶\n\n```\nfunc HandleFunc(pattern string, handler func(ResponseWriter, *Request))\n```\n\nHandleFunc registers the handler function for the given pattern in DefaultServeMux.\nThe documentation for ServeMux explains how patterns are matched.",
|
||||
"url": "https://pkg.go.dev/http#func HandleFunc ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func HandleFunc(pattern string, handler func(ResponseWriter, *Request))",
|
||||
"symbol": "func HandleFunc ¶"
|
||||
},
|
||||
"hash": "b4c1923d8c3ef79ca7cb366a60d2dda6078e988a3d5cc79f4bdff131546b4156",
|
||||
"timestamp": "2026-02-19T12:17:17.237483942+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "162c982ca1748a3233acc5d7",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ListenAndServe ¶",
|
||||
"content": "# http.func ListenAndServe ¶\n\n```\nfunc ListenAndServe(addr string, handler Handler) error\n```\n\nListenAndServe listens on the TCP network address addr and then calls\nServe with handler to handle requests on incoming connections.\nAccepted connections are configured to enable TCP keep-alives.",
|
||||
"url": "https://pkg.go.dev/http#func ListenAndServe ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ListenAndServe(addr string, handler Handler) error",
|
||||
"symbol": "func ListenAndServe ¶"
|
||||
},
|
||||
"hash": "7295a1607be23026a4fc58ec0e58acf215c4cc9dc4ed6d7925748767f7868547",
|
||||
"timestamp": "2026-02-19T12:17:17.237487799+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "3da3f79b514bd00d8102a3a9",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ListenAndServeTLS ¶",
|
||||
"content": "# http.func ListenAndServeTLS ¶\n\n```\nfunc ListenAndServeTLS(addr, certFile, keyFile string, handler Handler) error\n```\n\nListenAndServeTLS acts identically to ListenAndServe, except that it\nexpects HTTPS connections. Additionally, files containing a certificate and\nmatching private key for the server must be provided. If the certificate\nis signed by a certificate authority, the certFile should be the concatenation\nof the server's certificate, any intermediates, and the CA's certificate.",
|
||||
"url": "https://pkg.go.dev/http#func ListenAndServeTLS ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ListenAndServeTLS(addr, certFile, keyFile string, handler Handler) error",
|
||||
"symbol": "func ListenAndServeTLS ¶"
|
||||
},
|
||||
"hash": "547882865ad9b060be7c1ca4c558390726d5381bd9367e4983f6f6106e142b97",
|
||||
"timestamp": "2026-02-19T12:17:17.237491446+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "9095e017e922d9d6ac517fa9",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func MaxBytesReader ¶",
|
||||
"content": "# http.func MaxBytesReader ¶\n\n```\nfunc MaxBytesReader(w ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser\n```\n\nMaxBytesReader is similar to io.LimitReader but is intended for\nlimiting the size of incoming request bodies. In contrast to\nio.LimitReader, MaxBytesReader's result is a ReadCloser, returns a\nnon-nil error of type *MaxBytesError for a Read beyond the limit,\nand closes the underlying reader when its Close method is called.",
|
||||
"url": "https://pkg.go.dev/http#func MaxBytesReader ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func MaxBytesReader(w ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser",
|
||||
"symbol": "func MaxBytesReader ¶"
|
||||
},
|
||||
"hash": "3dea71e71ecd5cd1db9a835bd97e988e7e866cb4cc318eb3c80c8ec369cfb2cb",
|
||||
"timestamp": "2026-02-19T12:17:17.237495694+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "2b893c8d59d1f244265f1d5f",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func NotFound ¶",
|
||||
"content": "# http.func NotFound ¶\n\n```\nfunc NotFound(w ResponseWriter, r *Request)\n```\n\nNotFound replies to the request with an HTTP 404 not found error.",
|
||||
"url": "https://pkg.go.dev/http#func NotFound ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func NotFound(w ResponseWriter, r *Request)",
|
||||
"symbol": "func NotFound ¶"
|
||||
},
|
||||
"hash": "5aaf8d9740b214c17db832e47f1feb9e065c62ed2ae531de3c91e0dfe8a7f4d2",
|
||||
"timestamp": "2026-02-19T12:17:17.237500072+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "329cdea0dfc4505ea97a4e8a",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ParseHTTPVersion ¶",
|
||||
"content": "# http.func ParseHTTPVersion ¶\n\n```\nfunc ParseHTTPVersion(vers string) (major, minor int, ok bool)\n```\n\nParseHTTPVersion parses an HTTP version string according to RFC 7230, section 2.6.\n\"HTTP/1.0\" returns (1, 0, true). Note that strings without\na minor version, such as \"HTTP/2\", are not valid.",
|
||||
"url": "https://pkg.go.dev/http#func ParseHTTPVersion ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ParseHTTPVersion(vers string) (major, minor int, ok bool)",
|
||||
"symbol": "func ParseHTTPVersion ¶"
|
||||
},
|
||||
"hash": "a4608aaccf5ee1156607e14d7e624fcd4a7a560baedd2a8a6b5590e1029467b5",
|
||||
"timestamp": "2026-02-19T12:17:17.23750434+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "38c151d7359d6452a710d8b8",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ParseTime ¶\n \n \n added in\n go1.1",
|
||||
"content": "# http.func ParseTime ¶\n \n \n added in\n go1.1\n\n```\nfunc ParseTime(text string) (t time.Time, err error)\n```\n\nParseTime parses a time header (such as the Date: header),\ntrying each of the three formats allowed by HTTP/1.1:\nTimeFormat, time.RFC850, and time.ANSIC.",
|
||||
"url": "https://pkg.go.dev/http#func ParseTime ¶\n \n \n added in\n go1.1",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ParseTime(text string) (t time.Time, err error)",
|
||||
"symbol": "func ParseTime ¶\n \n \n added in\n go1.1"
|
||||
},
|
||||
"hash": "2ab78361d8224d68e3b0efeb5f52abf07ef22a863459b2828a59ddabe4cb250e",
|
||||
"timestamp": "2026-02-19T12:17:17.237508698+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "ac455995d3e7b921e08dbe30",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ProxyFromEnvironment ¶",
|
||||
"content": "# http.func ProxyFromEnvironment ¶\n\n```\nfunc ProxyFromEnvironment(req *Request) (*url.URL, error)\n```\n\nProxyFromEnvironment returns the URL of the proxy to use for a\ngiven request, as indicated by the environment variables\nHTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase versions\nthereof). Requests use the proxy from the environment variable\nmatching their scheme, unless excluded by NO_PROXY.",
|
||||
"url": "https://pkg.go.dev/http#func ProxyFromEnvironment ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ProxyFromEnvironment(req *Request) (*url.URL, error)",
|
||||
"symbol": "func ProxyFromEnvironment ¶"
|
||||
},
|
||||
"hash": "16576362fe0ebca2feba8f0a4c6966f9a2d924353bcf807bbdc16c8076b5408a",
|
||||
"timestamp": "2026-02-19T12:17:17.237512145+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "efb9e9afe67ca7664d403cee",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ProxyURL ¶",
|
||||
"content": "# http.func ProxyURL ¶\n\n```\nfunc ProxyURL(fixedURL *url.URL) func(*Request) (*url.URL, error)\n```\n\nProxyURL returns a proxy function (for use in a Transport)\nthat always returns the same URL.",
|
||||
"url": "https://pkg.go.dev/http#func ProxyURL ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ProxyURL(fixedURL *url.URL) func(*Request) (*url.URL, error)",
|
||||
"symbol": "func ProxyURL ¶"
|
||||
},
|
||||
"hash": "a98c7becc36eb868a095e8642bfe08092e866156d8afe4a28a6c325ace8a1a16",
|
||||
"timestamp": "2026-02-19T12:17:17.237515281+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "d12dce4e35fcfdd56c96aa14",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func Redirect ¶",
|
||||
"content": "# http.func Redirect ¶\n\n```\nfunc Redirect(w ResponseWriter, r *Request, url string, code int)\n```\n\nRedirect replies to the request with a redirect to url,\nwhich may be a path relative to the request path.\nAny non-ASCII characters in url will be percent-encoded,\nbut existing percent encodings will not be changed.",
|
||||
"url": "https://pkg.go.dev/http#func Redirect ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func Redirect(w ResponseWriter, r *Request, url string, code int)",
|
||||
"symbol": "func Redirect ¶"
|
||||
},
|
||||
"hash": "d548a0c7d62a3e6288eef721ea630d725f59d2050e969e314fbd28e2a5020e94",
|
||||
"timestamp": "2026-02-19T12:17:17.237519509+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "583357a2e03a602ec45348c2",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func Serve ¶",
|
||||
"content": "# http.func Serve ¶\n\n```\nfunc Serve(l net.Listener, handler Handler) error\n```\n\nServe accepts incoming HTTP connections on the listener l,\ncreating a new service goroutine for each. The service goroutines\nread requests and then call handler to reply to them.",
|
||||
"url": "https://pkg.go.dev/http#func Serve ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func Serve(l net.Listener, handler Handler) error",
|
||||
"symbol": "func Serve ¶"
|
||||
},
|
||||
"hash": "0c54d97c723ca778078b49669b005b125519967aed99dd64f1c4ae4f46922a6a",
|
||||
"timestamp": "2026-02-19T12:17:17.237526993+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "45375608a6e38a1495ae3842",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ServeContent ¶",
|
||||
"content": "# http.func ServeContent ¶\n\n```\nfunc ServeContent(w ResponseWriter, req *Request, name string, modtime time.Time, content io.ReadSeeker)\n```\n\nServeContent replies to the request using the content in the\nprovided ReadSeeker. The main benefit of ServeContent over io.Copy\nis that it handles Range requests properly, sets the MIME type, and\nhandles If-Match, If-Unmodified-Since, If-None-Match, If-Modified-Since,\nand If-Range requests.",
|
||||
"url": "https://pkg.go.dev/http#func ServeContent ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ServeContent(w ResponseWriter, req *Request, name string, modtime time.Time, content io.ReadSeeker)",
|
||||
"symbol": "func ServeContent ¶"
|
||||
},
|
||||
"hash": "03269d66f19b0fb2428038a9d4120d2d90969ab065bb31debcbb5d1e556f1cea",
|
||||
"timestamp": "2026-02-19T12:17:17.23753085+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "43e18a0f8502552a31de729d",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ServeFile ¶",
|
||||
"content": "# http.func ServeFile ¶\n\n```\nfunc ServeFile(w ResponseWriter, r *Request, name string)\n```\n\nServeFile replies to the request with the contents of the named\nfile or directory.",
|
||||
"url": "https://pkg.go.dev/http#func ServeFile ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ServeFile(w ResponseWriter, r *Request, name string)",
|
||||
"symbol": "func ServeFile ¶"
|
||||
},
|
||||
"hash": "b8fc650a6847fc72d6b59d5d736c9cc70ad71effc4917928ec1d47afd2e3015f",
|
||||
"timestamp": "2026-02-19T12:17:17.237534316+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "15ade505ab0ce3be03d304ba",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ServeFileFS ¶\n \n \n added in\n go1.22.0",
|
||||
"content": "# http.func ServeFileFS ¶\n \n \n added in\n go1.22.0\n\n```\nfunc ServeFileFS(w ResponseWriter, r *Request, fsys fs.FS, name string)\n```\n\nServeFileFS replies to the request with the contents\nof the named file or directory from the file system fsys.\nThe files provided by fsys must implement io.Seeker.",
|
||||
"url": "https://pkg.go.dev/http#func ServeFileFS ¶\n \n \n added in\n go1.22.0",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ServeFileFS(w ResponseWriter, r *Request, fsys fs.FS, name string)",
|
||||
"symbol": "func ServeFileFS ¶\n \n \n added in\n go1.22.0"
|
||||
},
|
||||
"hash": "132424d7d51be2451a20fcd4c861a263431d4a6a4dc8971ce42eb5319024a780",
|
||||
"timestamp": "2026-02-19T12:17:17.237537983+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "c0758d9ea0206e46e9c59133",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func ServeTLS ¶\n \n \n added in\n go1.9",
|
||||
"content": "# http.func ServeTLS ¶\n \n \n added in\n go1.9\n\n```\nfunc ServeTLS(l net.Listener, handler Handler, certFile, keyFile string) error\n```\n\nServeTLS accepts incoming HTTPS connections on the listener l,\ncreating a new service goroutine for each. The service goroutines\nread requests and then call handler to reply to them.",
|
||||
"url": "https://pkg.go.dev/http#func ServeTLS ¶\n \n \n added in\n go1.9",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func ServeTLS(l net.Listener, handler Handler, certFile, keyFile string) error",
|
||||
"symbol": "func ServeTLS ¶\n \n \n added in\n go1.9"
|
||||
},
|
||||
"hash": "fe741ce59ba9dac06b0723d1f3a5584ee686272d65a619e9b17f9367511aa8b4",
|
||||
"timestamp": "2026-02-19T12:17:17.237542552+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "4710fd7347378202d17c3fee",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func SetCookie ¶",
|
||||
"content": "# http.func SetCookie ¶\n\n```\nfunc SetCookie(w ResponseWriter, cookie *Cookie)\n```\n\nSetCookie adds a Set-Cookie header to the provided ResponseWriter's headers.\nThe provided cookie must have a valid Name. Invalid cookies may be\nsilently dropped.",
|
||||
"url": "https://pkg.go.dev/http#func SetCookie ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func SetCookie(w ResponseWriter, cookie *Cookie)",
|
||||
"symbol": "func SetCookie ¶"
|
||||
},
|
||||
"hash": "5f857191842622c283c4463e390fb208edd604e9202a7a8a80524256d0fd06d0",
|
||||
"timestamp": "2026-02-19T12:17:17.237545838+01:00"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "20104e1fbb1a4d9b10b41290",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func StatusText ¶",
|
||||
"content": "# http.func StatusText ¶\n\n```\nfunc StatusText(code int) string\n```\n\nStatusText returns a text for the HTTP status code. It returns the empty\nstring if the code is unknown.",
|
||||
"url": "https://pkg.go.dev/http#func StatusText ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func StatusText(code int) string",
|
||||
"symbol": "func StatusText ¶"
|
||||
},
|
||||
"hash": "3454de944d115dbcd1630666faed28191fd667541f0d214a0e46f0e688d90bf1",
|
||||
"timestamp": "2026-02-19T12:17:17.237549194+01:00"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"id": "1a6d3ba16db325285ee52f5f",
|
||||
"source": "http",
|
||||
"type": "go-constant",
|
||||
"title": "http.MethodGet (const)",
|
||||
"content": "# Constants\n\nCommon HTTP methods.\n\n```go\nconst (\n\tMethodGet\n\tMethodHead\n\tMethodPost\n\tMethodPut\n\tMethodPatch\n\tMethodDelete\n\tMethodConnect\n\tMethodOptions\n\tMethodTrace\n)\n```",
|
||||
"url": "https://pkg.go.dev/http",
|
||||
"metadata": {
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "constant",
|
||||
"names": [
|
||||
"MethodGet",
|
||||
"MethodHead",
|
||||
"MethodPost",
|
||||
"MethodPut",
|
||||
"MethodPatch",
|
||||
"MethodDelete",
|
||||
"MethodConnect",
|
||||
"MethodOptions",
|
||||
"MethodTrace"
|
||||
],
|
||||
"package": "http"
|
||||
},
|
||||
"hash": "7fac2a470856d94db2f853265ed2ff7adc1597ef4324f2e67413a8dd1708b129",
|
||||
"timestamp": "2026-02-19T12:17:17.237759058+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "ec6daa6fcc79332cf26c3e5e",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Client ¶",
|
||||
"content": "# type http.type Client ¶\n\n```\ntype Client struct {\n\t// Transport specifies the mechanism by which individual\n\t// HTTP requests are made.\n\t// If nil, DefaultTransport is used.\n\tTransport RoundTripper\n\n\t// CheckRedirect specifies the policy for handling redirects.\n\t// If CheckRedirect is not nil, the client calls it before\n\t// following an HTTP redirect. The arguments req and via are\n\t// the upcoming request and the requests made already, oldest\n\t// first. If CheckRedirect returns an error, the Client's Get\n\t// method returns both the previous Response (with its Body\n\t// closed) and CheckRedirect's error (wrapped in a url.Error)\n\t// instead of issuing the Request req.\n\t// As a special case, if CheckRedirect returns ErrUseLastResponse,\n\t// then the most recent response is returned with its body\n\t// unclosed, along with a nil error.\n\t//\n\t// If CheckRedirect is nil, the Client uses its default policy,\n\t// which is to stop after 10 consecutive requests.\n\tCheckRedirect func(req *Request, via []*Request) error\n\n\t// Jar specifies the cookie jar.\n\t//\n\t// The Jar is used to insert relevant cookies into every\n\t// outbound Request and is updated with the cookie values\n\t// of every inbound Response. The Jar is consulted for every\n\t// redirect that the Client follows.\n\t//\n\t// If Jar is nil, cookies are only sent if they are explicitly\n\t// set on the Request.\n\tJar CookieJar\n\n\t// Timeout specifies a time limit for requests made by this\n\t// Client. The timeout includes connection time, any\n\t// redirects, and reading the response body. The timer remains\n\t// running after Get, Head, Post, or Do return and will\n\t// interrupt reading of the Response.Body.\n\t//\n\t// A Timeout of zero means no timeout.\n\t//\n\t// The Client cancels requests to the underlying Transport\n\t// as if the Request's Context ended.\n\t//\n\t// For compatibility, the Client will also use the deprecated\n\t// CancelRequest method on Transport if found. New\n\t// RoundTripper implementations should use the Request's Context\n\t// for cancellation instead of implementing CancelRequest.\n\tTimeout time.Duration\n}\n```\n\nA Client is an HTTP client. Its zero value (DefaultClient) is a\nusable client that uses DefaultTransport.",
|
||||
"url": "https://pkg.go.dev/http#type Client ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Client ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Client struct {\n\t// Transport specifies the mechanism by which individual\n\t// HTTP requests are made.\n\t// If nil, DefaultTransport is used.\n\tTransport RoundTripper\n\n\t// CheckRedirect specifies the policy for handling redirects.\n\t// If CheckRedirect is not nil, the client calls it before\n\t// following an HTTP redirect. The arguments req and via are\n\t// the upcoming request and the requests made already, oldest\n\t// first. If CheckRedirect returns an error, the Client's Get\n\t// method returns both the previous Response (with its Body\n\t// closed) and CheckRedirect's error (wrapped in a url.Error)\n\t// instead of issuing the Request req.\n\t// As a special case, if CheckRedirect returns ErrUseLastResponse,\n\t// then the most recent response is returned with its body\n\t// unclosed, along with a nil error.\n\t//\n\t// If CheckRedirect is nil, the Client uses its default policy,\n\t// which is to stop after 10 consecutive requests.\n\tCheckRedirect func(req *Request, via []*Request) error\n\n\t// Jar specifies the cookie jar.\n\t//\n\t// The Jar is used to insert relevant cookies into every\n\t// outbound Request and is updated with the cookie values\n\t// of every inbound Response. The Jar is consulted for every\n\t// redirect that the Client follows.\n\t//\n\t// If Jar is nil, cookies are only sent if they are explicitly\n\t// set on the Request.\n\tJar CookieJar\n\n\t// Timeout specifies a time limit for requests made by this\n\t// Client. The timeout includes connection time, any\n\t// redirects, and reading the response body. The timer remains\n\t// running after Get, Head, Post, or Do return and will\n\t// interrupt reading of the Response.Body.\n\t//\n\t// A Timeout of zero means no timeout.\n\t//\n\t// The Client cancels requests to the underlying Transport\n\t// as if the Request's Context ended.\n\t//\n\t// For compatibility, the Client will also use the deprecated\n\t// CancelRequest method on Transport if found. New\n\t// RoundTripper implementations should use the Request's Context\n\t// for cancellation instead of implementing CancelRequest.\n\tTimeout time.Duration\n}"
|
||||
},
|
||||
"hash": "6d6d93116b24302bb67cbb484a7109bdd878d1b2b3678089bdf13515710d654b",
|
||||
"timestamp": "2026-02-19T12:17:17.237577517+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "5864b5986299149a4053361f",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type ClientConn ¶\n \n \n added in\n go1.26.0",
|
||||
"content": "# type http.type ClientConn ¶\n \n \n added in\n go1.26.0\n\n```\ntype ClientConn struct {\n\t// contains filtered or unexported fields\n}\n```\n\nA ClientConn is a client connection to an HTTP server.",
|
||||
"url": "https://pkg.go.dev/http#type ClientConn ¶\n \n \n added in\n go1.26.0",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type ClientConn ¶\n \n \n added in\n go1.26.0",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type ClientConn struct {\n\t// contains filtered or unexported fields\n}"
|
||||
},
|
||||
"hash": "1cca1d5c18337cbf31843d1aad74bf757c9ea8b75bce1bea430805978a69a7e4",
|
||||
"timestamp": "2026-02-19T12:17:17.237581315+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "83addbeae90c93c46e86c929",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type CloseNotifier\n deprecated\n \n \n \n \n added in\n go1.1",
|
||||
"content": "# type http.type CloseNotifier\n deprecated\n \n \n \n \n added in\n go1.1\n\n```\ntype CloseNotifier interface {\n\t// CloseNotify returns a channel that receives at most a\n\t// single value (true) when the client connection has gone\n\t// away.\n\t//\n\t// CloseNotify may wait to notify until Request.Body has been\n\t// fully read.\n\t//\n\t// After the Handler has returned, there is no guarantee\n\t// that the channel receives a value.\n\t//\n\t// If the protocol is HTTP/1.1 and CloseNotify is called while\n\t// processing an idempotent request (such as GET) while\n\t// HTTP/1.1 pipelining is in use, the arrival of a subsequent\n\t// pipelined request may cause a value to be sent on the\n\t// returned channel. In practice HTTP/1.1 pipelining is not\n\t// enabled in browsers and not seen often in the wild. If this\n\t// is a problem, use HTTP/2 or only use CloseNotify on methods\n\t// such as POST.\n\tCloseNotify() \u003c-chan bool\n}\n```\n\nThe CloseNotifier interface is implemented by ResponseWriters which\nallow detecting when the underlying connection has gone away.",
|
||||
"url": "https://pkg.go.dev/http#type CloseNotifier\n deprecated\n \n \n \n \n added in\n go1.1",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type CloseNotifier\n deprecated\n \n \n \n \n added in\n go1.1",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type CloseNotifier interface {\n\t// CloseNotify returns a channel that receives at most a\n\t// single value (true) when the client connection has gone\n\t// away.\n\t//\n\t// CloseNotify may wait to notify until Request.Body has been\n\t// fully read.\n\t//\n\t// After the Handler has returned, there is no guarantee\n\t// that the channel receives a value.\n\t//\n\t// If the protocol is HTTP/1.1 and CloseNotify is called while\n\t// processing an idempotent request (such as GET) while\n\t// HTTP/1.1 pipelining is in use, the arrival of a subsequent\n\t// pipelined request may cause a value to be sent on the\n\t// returned channel. In practice HTTP/1.1 pipelining is not\n\t// enabled in browsers and not seen often in the wild. If this\n\t// is a problem, use HTTP/2 or only use CloseNotify on methods\n\t// such as POST.\n\tCloseNotify() \u003c-chan bool\n}"
|
||||
},
|
||||
"hash": "e35a4cf93a2abc0be06ef805aa84a15cb4c234ab18a0b9330e16a84e3d1cf755",
|
||||
"timestamp": "2026-02-19T12:17:17.237588678+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "344cbf96ab225524d7377423",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type ConnState ¶\n \n \n added in\n go1.3",
|
||||
"content": "# type http.type ConnState ¶\n \n \n added in\n go1.3\n\n```\ntype ConnState int\n```\n\nA ConnState represents the state of a client connection to a server.\nIt's used by the optional [Server.ConnState] hook.",
|
||||
"url": "https://pkg.go.dev/http#type ConnState ¶\n \n \n added in\n go1.3",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type ConnState ¶\n \n \n added in\n go1.3",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type ConnState int"
|
||||
},
|
||||
"hash": "3e4d16aa1552a5a8218fc2a5460a199ef92fb68a33366e395debafc4393d9760",
|
||||
"timestamp": "2026-02-19T12:17:17.237593517+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "e04d37255abd69352e708f87",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Cookie ¶",
|
||||
"content": "# type http.type Cookie ¶\n\n```\ntype Cookie struct {\n\tName string\n\tValue string\n\tQuoted bool // indicates whether the Value was originally quoted\n\n\tPath string // optional\n\tDomain string // optional\n\tExpires time.Time // optional\n\tRawExpires string // for reading cookies only\n\n\t// MaxAge=0 means no 'Max-Age' attribute specified.\n\t// MaxAge\u003c0 means delete cookie now, equivalently 'Max-Age: 0'\n\t// MaxAge\u003e0 means Max-Age attribute present and given in seconds\n\tMaxAge int\n\tSecure bool\n\tHttpOnly bool\n\tSameSite SameSite\n\tPartitioned bool\n\tRaw string\n\tUnparsed []string // Raw text of unparsed attribute-value pairs\n}\n```\n\nA Cookie represents an HTTP cookie as sent in the Set-Cookie header of an\nHTTP response or the Cookie header of an HTTP request.",
|
||||
"url": "https://pkg.go.dev/http#type Cookie ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Cookie ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Cookie struct {\n\tName string\n\tValue string\n\tQuoted bool // indicates whether the Value was originally quoted\n\n\tPath string // optional\n\tDomain string // optional\n\tExpires time.Time // optional\n\tRawExpires string // for reading cookies only\n\n\t// MaxAge=0 means no 'Max-Age' attribute specified.\n\t// MaxAge\u003c0 means delete cookie now, equivalently 'Max-Age: 0'\n\t// MaxAge\u003e0 means Max-Age attribute present and given in seconds\n\tMaxAge int\n\tSecure bool\n\tHttpOnly bool\n\tSameSite SameSite\n\tPartitioned bool\n\tRaw string\n\tUnparsed []string // Raw text of unparsed attribute-value pairs\n}"
|
||||
},
|
||||
"hash": "228c7df1786726430a79d1f72d01f8c79ce59948eb14ee3081b24e29357b55d8",
|
||||
"timestamp": "2026-02-19T12:17:17.237597785+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "a4d523264c15f366b4b4fee0",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type CookieJar ¶",
|
||||
"content": "# type http.type CookieJar ¶\n\n```\ntype CookieJar interface {\n\t// SetCookies handles the receipt of the cookies in a reply for the\n\t// given URL. It may or may not choose to save the cookies, depending\n\t// on the jar's policy and implementation.\n\tSetCookies(u *url.URL, cookies []*Cookie)\n\n\t// Cookies returns the cookies to send in a request for the given URL.\n\t// It is up to the implementation to honor the standard cookie use\n\t// restrictions such as in RFC 6265.\n\tCookies(u *url.URL) []*Cookie\n}\n```\n\nA CookieJar manages storage and use of cookies in HTTP requests.",
|
||||
"url": "https://pkg.go.dev/http#type CookieJar ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type CookieJar ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type CookieJar interface {\n\t// SetCookies handles the receipt of the cookies in a reply for the\n\t// given URL. It may or may not choose to save the cookies, depending\n\t// on the jar's policy and implementation.\n\tSetCookies(u *url.URL, cookies []*Cookie)\n\n\t// Cookies returns the cookies to send in a request for the given URL.\n\t// It is up to the implementation to honor the standard cookie use\n\t// restrictions such as in RFC 6265.\n\tCookies(u *url.URL) []*Cookie\n}"
|
||||
},
|
||||
"hash": "d4cbfb4c2754318f1f942459844795ae3ad8d44bdc7278f4bd4216fc06dbd56d",
|
||||
"timestamp": "2026-02-19T12:17:17.237602414+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "6ddb919fe5b492f377978d01",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type CrossOriginProtection ¶\n \n \n added in\n go1.25.0",
|
||||
"content": "# type http.type CrossOriginProtection ¶\n \n \n added in\n go1.25.0\n\n```\ntype CrossOriginProtection struct {\n\t// contains filtered or unexported fields\n}\n```\n\nCrossOriginProtection implements protections against Cross-Site Request\nForgery (CSRF) by rejecting non-safe cross-origin browser requests.",
|
||||
"url": "https://pkg.go.dev/http#type CrossOriginProtection ¶\n \n \n added in\n go1.25.0",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type CrossOriginProtection ¶\n \n \n added in\n go1.25.0",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type CrossOriginProtection struct {\n\t// contains filtered or unexported fields\n}"
|
||||
},
|
||||
"hash": "6b5d174f63b34be6d3a0f2e2c848f963aed1d30dbed6a89e38a462b966ad21b7",
|
||||
"timestamp": "2026-02-19T12:17:17.237605931+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "099998cc5e5cb8f5c2c54c91",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Dir ¶",
|
||||
"content": "# type http.type Dir ¶\n\n```\ntype Dir string\n```\n\nA Dir implements FileSystem using the native file system restricted to a\nspecific directory tree.",
|
||||
"url": "https://pkg.go.dev/http#type Dir ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Dir ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Dir string"
|
||||
},
|
||||
"hash": "b97ba93d147e68dd3f4d62bc88eaa49a896838d1eccf5de6645f4fc11f8a7022",
|
||||
"timestamp": "2026-02-19T12:17:17.237609828+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "128398ed966f457505ff4428",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type File ¶",
|
||||
"content": "# type http.type File ¶\n\n```\ntype File interface {\n\tio.Closer\n\tio.Reader\n\tio.Seeker\n\tReaddir(count int) ([]fs.FileInfo, error)\n\tStat() (fs.FileInfo, error)\n}\n```\n\nA File is returned by a FileSystem's Open method and can be\nserved by the FileServer implementation.",
|
||||
"url": "https://pkg.go.dev/http#type File ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type File ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type File interface {\n\tio.Closer\n\tio.Reader\n\tio.Seeker\n\tReaddir(count int) ([]fs.FileInfo, error)\n\tStat() (fs.FileInfo, error)\n}"
|
||||
},
|
||||
"hash": "4a31799156fabe79a6ccc14220de64e0b633925052f63db98f0359ade1206387",
|
||||
"timestamp": "2026-02-19T12:17:17.237613144+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "32353559a030071b2fd63113",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type FileSystem ¶",
|
||||
"content": "# type http.type FileSystem ¶\n\n```\ntype FileSystem interface {\n\tOpen(name string) (File, error)\n}\n```\n\nA FileSystem implements access to a collection of named files.\nThe elements in a file path are separated by slash ('/', U+002F)\ncharacters, regardless of host operating system convention.\nSee the FileServer function to convert a FileSystem to a Handler.",
|
||||
"url": "https://pkg.go.dev/http#type FileSystem ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type FileSystem ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type FileSystem interface {\n\tOpen(name string) (File, error)\n}"
|
||||
},
|
||||
"hash": "f2e668d7fb4d6938f02ceeead81cf136f02ed65506389c1a49c10a5e04ff04a8",
|
||||
"timestamp": "2026-02-19T12:17:17.237621129+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "a3ac7f1a6dd81196f824401e",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Flusher ¶",
|
||||
"content": "# type http.type Flusher ¶\n\n```\ntype Flusher interface {\n\t// Flush sends any buffered data to the client.\n\tFlush()\n}\n```\n\nThe Flusher interface is implemented by ResponseWriters that allow\nan HTTP handler to flush buffered data to the client.",
|
||||
"url": "https://pkg.go.dev/http#type Flusher ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Flusher ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Flusher interface {\n\t// Flush sends any buffered data to the client.\n\tFlush()\n}"
|
||||
},
|
||||
"hash": "c650a976ca695efb09d3172ec610beb642d47de982565a1a73a2ada2d1b6dfd4",
|
||||
"timestamp": "2026-02-19T12:17:17.237624786+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "d89765966a967bdb8a426e6a",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Handler ¶",
|
||||
"content": "# type http.type Handler ¶\n\n```\ntype Handler interface {\n\tServeHTTP(ResponseWriter, *Request)\n}\n```\n\nA Handler responds to an HTTP request.",
|
||||
"url": "https://pkg.go.dev/http#type Handler ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Handler ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Handler interface {\n\tServeHTTP(ResponseWriter, *Request)\n}"
|
||||
},
|
||||
"hash": "a9eb27cce9f1cdab670795312a80fdf0afba95c15d9a4bd397b9a153a6748b8a",
|
||||
"timestamp": "2026-02-19T12:17:17.237637841+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "f319abdf711953b5d29d9e80",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type HandlerFunc ¶",
|
||||
"content": "# type http.type HandlerFunc ¶\n\n```\ntype HandlerFunc func(ResponseWriter, *Request)\n```\n\nThe HandlerFunc type is an adapter to allow the use of\nordinary functions as HTTP handlers. If f is a function\nwith the appropriate signature, HandlerFunc(f) is a\nHandler that calls f.",
|
||||
"url": "https://pkg.go.dev/http#type HandlerFunc ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type HandlerFunc ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type HandlerFunc func(ResponseWriter, *Request)"
|
||||
},
|
||||
"hash": "635c5ee91697ca7a84a6093622ca0007aa90731b717c19ac91c705e2ee525f6b",
|
||||
"timestamp": "2026-02-19T12:17:17.237641217+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "ac652b55c3f3f91de97a97b3",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Header ¶",
|
||||
"content": "# type http.type Header ¶\n\n```\ntype Header map[string][]string\n```\n\nA Header represents the key-value pairs in an HTTP header.",
|
||||
"url": "https://pkg.go.dev/http#type Header ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Header ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Header map[string][]string"
|
||||
},
|
||||
"hash": "6192aa8079de858ce4a451d33162edc1bdab4259fc23be785862989f2e73b8ed",
|
||||
"timestamp": "2026-02-19T12:17:17.237644613+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "afaad591ba9b08106128c9cb",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Hijacker ¶",
|
||||
"content": "# type http.type Hijacker ¶\n\n```\ntype Hijacker interface {\n\t// Hijack lets the caller take over the connection.\n\t// After a call to Hijack the HTTP server library\n\t// will not do anything else with the connection.\n\t//\n\t// It becomes the caller's responsibility to manage\n\t// and close the connection.\n\t//\n\t// The returned net.Conn may have read or write deadlines\n\t// already set, depending on the configuration of the\n\t// Server. It is the caller's responsibility to set\n\t// or clear those deadlines as needed.\n\t//\n\t// The returned bufio.Reader may contain unprocessed buffered\n\t// data from the client.\n\t//\n\t// After a call to Hijack, the original Request.Body must not\n\t// be used. The original Request's Context remains valid and\n\t// is not canceled until the Request's ServeHTTP method\n\t// returns.\n\tHijack() (net.Conn, *bufio.ReadWriter, error)\n}\n```\n\nThe Hijacker interface is implemented by ResponseWriters that allow\nan HTTP handler to take over the connection.",
|
||||
"url": "https://pkg.go.dev/http#type Hijacker ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Hijacker ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Hijacker interface {\n\t// Hijack lets the caller take over the connection.\n\t// After a call to Hijack the HTTP server library\n\t// will not do anything else with the connection.\n\t//\n\t// It becomes the caller's responsibility to manage\n\t// and close the connection.\n\t//\n\t// The returned net.Conn may have read or write deadlines\n\t// already set, depending on the configuration of the\n\t// Server. It is the caller's responsibility to set\n\t// or clear those deadlines as needed.\n\t//\n\t// The returned bufio.Reader may contain unprocessed buffered\n\t// data from the client.\n\t//\n\t// After a call to Hijack, the original Request.Body must not\n\t// be used. The original Request's Context remains valid and\n\t// is not canceled until the Request's ServeHTTP method\n\t// returns.\n\tHijack() (net.Conn, *bufio.ReadWriter, error)\n}"
|
||||
},
|
||||
"hash": "8080e50adc630207c40b37752e6f0ea39f884d92f6aea45a00a817093e594c1a",
|
||||
"timestamp": "2026-02-19T12:17:17.237648881+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "eaa389b5a36c8ad46f339295",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type HTTP2Config ¶\n \n \n added in\n go1.24.0",
|
||||
"content": "# type http.type HTTP2Config ¶\n \n \n added in\n go1.24.0\n\n```\ntype HTTP2Config struct {\n\t// MaxConcurrentStreams optionally specifies the number of\n\t// concurrent streams that a client may have open at a time.\n\t// If zero, MaxConcurrentStreams defaults to at least 100.\n\t//\n\t// This parameter only applies to Servers.\n\tMaxConcurrentStreams int\n\n\t// StrictMaxConcurrentRequests controls whether an HTTP/2 server's\n\t// concurrency limit should be respected across all connections\n\t// to that server.\n\t// If true, new requests sent when a connection's concurrency limit\n\t// has been exceeded will block until an existing request completes.\n\t// If false, an additional connection will be opened if all\n\t// existing connections are at their limit.\n\t//\n\t// This parameter only applies to Transports.\n\tStrictMaxConcurrentRequests bool\n\n\t// MaxDecoderHeaderTableSize optionally specifies an upper limit for the\n\t// size of the header compression table used for decoding headers sent\n\t// by the peer.\n\t// A valid value is less than 4MiB.\n\t// If zero or invalid, a default value is used.\n\tMaxDecoderHeaderTableSize int\n\n\t// MaxEncoderHeaderTableSize optionally specifies an upper limit for the\n\t// header compression table used for sending headers to the peer.\n\t// A valid value is less than 4MiB.\n\t// If zero or invalid, a default value is used.\n\tMaxEncoderHeaderTableSize int\n\n\t// MaxReadFrameSize optionally specifies the largest frame\n\t// this endpoint is willing to read.\n\t// A valid value is between 16KiB and 16MiB, inclusive.\n\t// If zero or invalid, a default value is used.\n\tMaxReadFrameSize int\n\n\t// MaxReceiveBufferPerConnection is the maximum size of the\n\t// flow control window for data received on a connection.\n\t// A valid value is at least 64KiB and less than 4MiB.\n\t// If invalid, a default value is used.\n\tMaxReceiveBufferPerConnection int\n\n\t// MaxReceiveBufferPerStream is the maximum size of\n\t// the flow control window for data received on a stream (request).\n\t// A valid value is less than 4MiB.\n\t// If zero or invalid, a default value is used.\n\tMaxReceiveBufferPerStream int\n\n\t// SendPingTimeout is the timeout after which a health check using a ping\n\t// frame will be carried out if no frame is received on a connection.\n\t// If zero, no health check is performed.\n\tSendPingTimeout time.Duration\n\n\t// PingTimeout is the timeout after which a connection will be closed\n\t// if a response to a ping is not received.\n\t// If zero, a default of 15 seconds is used.\n\tPingTimeout time.Duration\n\n\t// WriteByteTimeout is the timeout after which a connection will be\n\t// closed if no data can be written to it. The timeout begins when data is\n\t// available to write, and is extended whenever any bytes are written.\n\tWriteByteTimeout time.Duration\n\n\t// PermitProhibitedCipherSuites, if true, permits the use of\n\t// cipher suites prohibited by the HTTP/2 spec.\n\tPermitProhibitedCipherSuites bool\n\n\t// CountError, if non-nil, is called on HTTP/2 errors.\n\t// It is intended to increment a metric for monitoring.\n\t// The errType contains only lowercase letters, digits, and underscores\n\t// (a-z, 0-9, _).\n\tCountError func(errType string)\n}\n```\n\nHTTP2Config defines HTTP/2 configuration parameters common to\nboth Transport and Server.",
|
||||
"url": "https://pkg.go.dev/http#type HTTP2Config ¶\n \n \n added in\n go1.24.0",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type HTTP2Config ¶\n \n \n added in\n go1.24.0",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type HTTP2Config struct {\n\t// MaxConcurrentStreams optionally specifies the number of\n\t// concurrent streams that a client may have open at a time.\n\t// If zero, MaxConcurrentStreams defaults to at least 100.\n\t//\n\t// This parameter only applies to Servers.\n\tMaxConcurrentStreams int\n\n\t// StrictMaxConcurrentRequests controls whether an HTTP/2 server's\n\t// concurrency limit should be respected across all connections\n\t// to that server.\n\t// If true, new requests sent when a connection's concurrency limit\n\t// has been exceeded will block until an existing request completes.\n\t// If false, an additional connection will be opened if all\n\t// existing connections are at their limit.\n\t//\n\t// This parameter only applies to Transports.\n\tStrictMaxConcurrentRequests bool\n\n\t// MaxDecoderHeaderTableSize optionally specifies an upper limit for the\n\t// size of the header compression table used for decoding headers sent\n\t// by the peer.\n\t// A valid value is less than 4MiB.\n\t// If zero or invalid, a default value is used.\n\tMaxDecoderHeaderTableSize int\n\n\t// MaxEncoderHeaderTableSize optionally specifies an upper limit for the\n\t// header compression table used for sending headers to the peer.\n\t// A valid value is less than 4MiB.\n\t// If zero or invalid, a default value is used.\n\tMaxEncoderHeaderTableSize int\n\n\t// MaxReadFrameSize optionally specifies the largest frame\n\t// this endpoint is willing to read.\n\t// A valid value is between 16KiB and 16MiB, inclusive.\n\t// If zero or invalid, a default value is used.\n\tMaxReadFrameSize int\n\n\t// MaxReceiveBufferPerConnection is the maximum size of the\n\t// flow control window for data received on a connection.\n\t// A valid value is at least 64KiB and less than 4MiB.\n\t// If invalid, a default value is used.\n\tMaxReceiveBufferPerConnection int\n\n\t// MaxReceiveBufferPerStream is the maximum size of\n\t// the flow control window for data received on a stream (request).\n\t// A valid value is less than 4MiB.\n\t// If zero or invalid, a default value is used.\n\tMaxReceiveBufferPerStream int\n\n\t// SendPingTimeout is the timeout after which a health check using a ping\n\t// frame will be carried out if no frame is received on a connection.\n\t// If zero, no health check is performed.\n\tSendPingTimeout time.Duration\n\n\t// PingTimeout is the timeout after which a connection will be closed\n\t// if a response to a ping is not received.\n\t// If zero, a default of 15 seconds is used.\n\tPingTimeout time.Duration\n\n\t// WriteByteTimeout is the timeout after which a connection will be\n\t// closed if no data can be written to it. The timeout begins when data is\n\t// available to write, and is extended whenever any bytes are written.\n\tWriteByteTimeout time.Duration\n\n\t// PermitProhibitedCipherSuites, if true, permits the use of\n\t// cipher suites prohibited by the HTTP/2 spec.\n\tPermitProhibitedCipherSuites bool\n\n\t// CountError, if non-nil, is called on HTTP/2 errors.\n\t// It is intended to increment a metric for monitoring.\n\t// The errType contains only lowercase letters, digits, and underscores\n\t// (a-z, 0-9, _).\n\tCountError func(errType string)\n}"
|
||||
},
|
||||
"hash": "7864ae7f72b7b73e1b55bd24e5f5b26b51483798009abdfbc3c19a74f7314a9c",
|
||||
"timestamp": "2026-02-19T12:17:17.237634665+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "55f8f665d9167a08131444fb",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type MaxBytesError ¶\n \n \n added in\n go1.19",
|
||||
"content": "# type http.type MaxBytesError ¶\n \n \n added in\n go1.19\n\n```\ntype MaxBytesError struct {\n\tLimit int64\n}\n```\n\nMaxBytesError is returned by MaxBytesReader when its read limit is exceeded.",
|
||||
"url": "https://pkg.go.dev/http#type MaxBytesError ¶\n \n \n added in\n go1.19",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type MaxBytesError ¶\n \n \n added in\n go1.19",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type MaxBytesError struct {\n\tLimit int64\n}"
|
||||
},
|
||||
"hash": "94416e66fca60ad9a19c7189926173f2e83161ce2655ee1ec93a4c4fc979102f",
|
||||
"timestamp": "2026-02-19T12:17:17.237652198+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "1158081e3dc0c20e6046a232",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type ProtocolError\n deprecated",
|
||||
"content": "# type http.type ProtocolError\n deprecated\n\n```\ntype ProtocolError struct {\n\tErrorString string\n}\n```\n\nProtocolError represents an HTTP protocol error.",
|
||||
"url": "https://pkg.go.dev/http#type ProtocolError\n deprecated",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type ProtocolError\n deprecated",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type ProtocolError struct {\n\tErrorString string\n}"
|
||||
},
|
||||
"hash": "7f2472f84d40a62bdc48ea8aeaf1fa42f9ab98e6d5a24b01b3408c9028d66eee",
|
||||
"timestamp": "2026-02-19T12:17:17.237655774+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "6e0bf7294be633d4de71ad64",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Protocols ¶\n \n \n added in\n go1.24.0",
|
||||
"content": "# type http.type Protocols ¶\n \n \n added in\n go1.24.0\n\n```\ntype Protocols struct {\n\t// contains filtered or unexported fields\n}\n```\n\nProtocols is a set of HTTP protocols.\nThe zero value is an empty set of protocols.",
|
||||
"url": "https://pkg.go.dev/http#type Protocols ¶\n \n \n added in\n go1.24.0",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Protocols ¶\n \n \n added in\n go1.24.0",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Protocols struct {\n\t// contains filtered or unexported fields\n}"
|
||||
},
|
||||
"hash": "76c7a0bb2c138508d8ab135980a0936c5a7e133840690bd58aef0d1f149ef99c",
|
||||
"timestamp": "2026-02-19T12:17:17.237659511+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "727a366f7697bb54d5a596f9",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Pusher ¶\n \n \n added in\n go1.8",
|
||||
"content": "# type http.type Pusher ¶\n \n \n added in\n go1.8\n\n```\ntype Pusher interface {\n\t// Push initiates an HTTP/2 server push. This constructs a synthetic\n\t// request using the given target and options, serializes that request\n\t// into a PUSH_PROMISE frame, then dispatches that request using the\n\t// server's request handler. If opts is nil, default options are used.\n\t//\n\t// The target must either be an absolute path (like \"/path\") or an absolute\n\t// URL that contains a valid host and the same scheme as the parent request.\n\t// If the target is a path, it will inherit the scheme and host of the\n\t// parent request.\n\t//\n\t// The HTTP/2 spec disallows recursive pushes and cross-authority pushes.\n\t// Push may or may not detect these invalid pushes; however, invalid\n\t// pushes will be detected and canceled by conforming clients.\n\t//\n\t// Handlers that wish to push URL X should call Push before sending any\n\t// data that may trigger a request for URL X. This avoids a race where the\n\t// client issues requests for X before receiving the PUSH_PROMISE for X.\n\t//\n\t// Push will run in a separate goroutine making the order of arrival\n\t// non-deterministic. Any required synchronization needs to be implemented\n\t// by the caller.\n\t//\n\t// Push returns ErrNotSupported if the client has disabled push or if push\n\t// is not supported on the underlying connection.\n\tPush(target string, opts *PushOptions) error\n}\n```\n\nPusher is the interface implemented by ResponseWriters that support\nHTTP/2 server push. For more background, see\nhttps://tools.ietf.org/html/rfc7540#section-8.2.",
|
||||
"url": "https://pkg.go.dev/http#type Pusher ¶\n \n \n added in\n go1.8",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Pusher ¶\n \n \n added in\n go1.8",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Pusher interface {\n\t// Push initiates an HTTP/2 server push. This constructs a synthetic\n\t// request using the given target and options, serializes that request\n\t// into a PUSH_PROMISE frame, then dispatches that request using the\n\t// server's request handler. If opts is nil, default options are used.\n\t//\n\t// The target must either be an absolute path (like \"/path\") or an absolute\n\t// URL that contains a valid host and the same scheme as the parent request.\n\t// If the target is a path, it will inherit the scheme and host of the\n\t// parent request.\n\t//\n\t// The HTTP/2 spec disallows recursive pushes and cross-authority pushes.\n\t// Push may or may not detect these invalid pushes; however, invalid\n\t// pushes will be detected and canceled by conforming clients.\n\t//\n\t// Handlers that wish to push URL X should call Push before sending any\n\t// data that may trigger a request for URL X. This avoids a race where the\n\t// client issues requests for X before receiving the PUSH_PROMISE for X.\n\t//\n\t// Push will run in a separate goroutine making the order of arrival\n\t// non-deterministic. Any required synchronization needs to be implemented\n\t// by the caller.\n\t//\n\t// Push returns ErrNotSupported if the client has disabled push or if push\n\t// is not supported on the underlying connection.\n\tPush(target string, opts *PushOptions) error\n}"
|
||||
},
|
||||
"hash": "120d1b769c3b9398d902b069005a7e509276e0539426f49cfac1ac6429ffbe41",
|
||||
"timestamp": "2026-02-19T12:17:17.237668839+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "7aee1cac85f3d68e65fbf34a",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type PushOptions ¶\n \n \n added in\n go1.8",
|
||||
"content": "# type http.type PushOptions ¶\n \n \n added in\n go1.8\n\n```\ntype PushOptions struct {\n\t// Method specifies the HTTP method for the promised request.\n\t// If set, it must be \"GET\" or \"HEAD\". Empty means \"GET\".\n\tMethod string\n\n\t// Header specifies additional promised request headers. This cannot\n\t// include HTTP/2 pseudo header fields like \":path\" and \":scheme\",\n\t// which will be added automatically.\n\tHeader Header\n}\n```\n\nPushOptions describes options for [Pusher.Push].",
|
||||
"url": "https://pkg.go.dev/http#type PushOptions ¶\n \n \n added in\n go1.8",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type PushOptions ¶\n \n \n added in\n go1.8",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type PushOptions struct {\n\t// Method specifies the HTTP method for the promised request.\n\t// If set, it must be \"GET\" or \"HEAD\". Empty means \"GET\".\n\tMethod string\n\n\t// Header specifies additional promised request headers. This cannot\n\t// include HTTP/2 pseudo header fields like \":path\" and \":scheme\",\n\t// which will be added automatically.\n\tHeader Header\n}"
|
||||
},
|
||||
"hash": "3501648577d9e7e96689a73221fe9e0eda05345a0c938c3a35c3870682288759",
|
||||
"timestamp": "2026-02-19T12:17:17.237663549+01:00"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "72a399cde441352e0d00dc83",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type Response ¶",
|
||||
"content": "# type http.type Response ¶\n\n```\ntype Response struct {\n\tStatus string // e.g. \"200 OK\"\n\tStatusCode int // e.g. 200\n\tProto string // e.g. \"HTTP/1.0\"\n\tProtoMajor int // e.g. 1\n\tProtoMinor int // e.g. 0\n\n\t// Header maps header keys to values. If the response had multiple\n\t// headers with the same key, they may be concatenated, with comma\n\t// delimiters. (RFC 7230, section 3.2.2 requires that multiple headers\n\t// be semantically equivalent to a comma-delimited sequence.) When\n\t// Header values are duplicated by other fields in this struct (e.g.,\n\t// ContentLength, TransferEncoding, Trailer), the field values are\n\t// authoritative.\n\t//\n\t// Keys in the map are canonicalized (see CanonicalHeaderKey).\n\tHeader Header\n\n\t// Body represents the response body.\n\t//\n\t// The response body is streamed on demand as the Body field\n\t// is read. If the network connection fails or the server\n\t// terminates the response, Body.Read calls return an error.\n\t//\n\t// The http Client and Transport guarantee that Body is always\n\t// non-nil, even on responses without a body or responses with\n\t// a zero-length body. It is the caller's responsibility to\n\t// close Body. The default HTTP client's Transport may not\n\t// reuse HTTP/1.x \"keep-alive\" TCP connections if the Body is\n\t// not read to completion and closed.\n\t//\n\t// The Body is automatically dechunked if the server replied\n\t// with a \"chunked\" Transfer-Encoding.\n\t//\n\t// As of Go 1.12, the Body will also implement io.Writer\n\t// on a successful \"101 Switching Protocols\" response,\n\t// as used by WebSockets and HTTP/2's \"h2c\" mode.\n\tBody io.ReadCloser\n\n\t// ContentLength records the length of the associated content. The\n\t// value -1 indicates that the length is unknown. Unless Request.Method\n\t// is \"HEAD\", values \u003e= 0 indicate that the given number of bytes may\n\t// be read from Body.\n\tContentLength int64\n\n\t// Contains transfer encodings from outer-most to inner-most. Value is\n\t// nil, means that \"identity\" encoding is used.\n\tTransferEncoding []string\n\n\t// Close records whether the header directed that the connection be\n\t// closed after reading Body. The value is advice for clients: neither\n\t// ReadResponse nor Response.Write ever closes a connection.\n\tClose bool\n\n\t// Uncompressed reports whether the response was sent compressed but\n\t// was decompressed by the http package. When true, reading from\n\t// Body yields the uncompressed content instead of the compressed\n\t// content actually set from the server, ContentLength is set to -1,\n\t// and the \"Content-Length\" and \"Content-Encoding\" fields are deleted\n\t// from the responseHeader. To get the original response from\n\t// the server, set Transport.DisableCompression to true.\n\tUncompressed bool\n\n\t// Trailer maps trailer keys to values in the same\n\t// format as Header.\n\t//\n\t// The Trailer initially contains only nil values, one for\n\t// each key specified in the server's \"Trailer\" header\n\t// value. Those values are not added to Header.\n\t//\n\t// Trailer must not be accessed concurrently with Read calls\n\t// on the Body.\n\t//\n\t// After Body.Read has returned io.EOF, Trailer will contain\n\t// any trailer values sent by the server.\n\tTrailer Header\n\n\t// Request is the request that was sent to obtain this Response.\n\t// Request's Body is nil (having already been consumed).\n\t// This is only populated for Client requests.\n\tRequest *Request\n\n\t// TLS contains information about the TLS connection on which the\n\t// response was received. It is nil for unencrypted responses.\n\t// The pointer is shared between responses and should not be\n\t// modified.\n\tTLS *tls.ConnectionState\n}\n```\n\nResponse represents the response from an HTTP request.",
|
||||
"url": "https://pkg.go.dev/http#type Response ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type Response ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type Response struct {\n\tStatus string // e.g. \"200 OK\"\n\tStatusCode int // e.g. 200\n\tProto string // e.g. \"HTTP/1.0\"\n\tProtoMajor int // e.g. 1\n\tProtoMinor int // e.g. 0\n\n\t// Header maps header keys to values. If the response had multiple\n\t// headers with the same key, they may be concatenated, with comma\n\t// delimiters. (RFC 7230, section 3.2.2 requires that multiple headers\n\t// be semantically equivalent to a comma-delimited sequence.) When\n\t// Header values are duplicated by other fields in this struct (e.g.,\n\t// ContentLength, TransferEncoding, Trailer), the field values are\n\t// authoritative.\n\t//\n\t// Keys in the map are canonicalized (see CanonicalHeaderKey).\n\tHeader Header\n\n\t// Body represents the response body.\n\t//\n\t// The response body is streamed on demand as the Body field\n\t// is read. If the network connection fails or the server\n\t// terminates the response, Body.Read calls return an error.\n\t//\n\t// The http Client and Transport guarantee that Body is always\n\t// non-nil, even on responses without a body or responses with\n\t// a zero-length body. It is the caller's responsibility to\n\t// close Body. The default HTTP client's Transport may not\n\t// reuse HTTP/1.x \"keep-alive\" TCP connections if the Body is\n\t// not read to completion and closed.\n\t//\n\t// The Body is automatically dechunked if the server replied\n\t// with a \"chunked\" Transfer-Encoding.\n\t//\n\t// As of Go 1.12, the Body will also implement io.Writer\n\t// on a successful \"101 Switching Protocols\" response,\n\t// as used by WebSockets and HTTP/2's \"h2c\" mode.\n\tBody io.ReadCloser\n\n\t// ContentLength records the length of the associated content. The\n\t// value -1 indicates that the length is unknown. Unless Request.Method\n\t// is \"HEAD\", values \u003e= 0 indicate that the given number of bytes may\n\t// be read from Body.\n\tContentLength int64\n\n\t// Contains transfer encodings from outer-most to inner-most. Value is\n\t// nil, means that \"identity\" encoding is used.\n\tTransferEncoding []string\n\n\t// Close records whether the header directed that the connection be\n\t// closed after reading Body. The value is advice for clients: neither\n\t// ReadResponse nor Response.Write ever closes a connection.\n\tClose bool\n\n\t// Uncompressed reports whether the response was sent compressed but\n\t// was decompressed by the http package. When true, reading from\n\t// Body yields the uncompressed content instead of the compressed\n\t// content actually set from the server, ContentLength is set to -1,\n\t// and the \"Content-Length\" and \"Content-Encoding\" fields are deleted\n\t// from the responseHeader. To get the original response from\n\t// the server, set Transport.DisableCompression to true.\n\tUncompressed bool\n\n\t// Trailer maps trailer keys to values in the same\n\t// format as Header.\n\t//\n\t// The Trailer initially contains only nil values, one for\n\t// each key specified in the server's \"Trailer\" header\n\t// value. Those values are not added to Header.\n\t//\n\t// Trailer must not be accessed concurrently with Read calls\n\t// on the Body.\n\t//\n\t// After Body.Read has returned io.EOF, Trailer will contain\n\t// any trailer values sent by the server.\n\tTrailer Header\n\n\t// Request is the request that was sent to obtain this Response.\n\t// Request's Body is nil (having already been consumed).\n\t// This is only populated for Client requests.\n\tRequest *Request\n\n\t// TLS contains information about the TLS connection on which the\n\t// response was received. It is nil for unencrypted responses.\n\t// The pointer is shared between responses and should not be\n\t// modified.\n\tTLS *tls.ConnectionState\n}"
|
||||
},
|
||||
"hash": "8f2874a7b61ddfea454a98432582c1140dcba6d1788289d4da600a11898054d9",
|
||||
"timestamp": "2026-02-19T12:17:17.237704696+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "bb46edb5d76b53fb20982084",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type ResponseController ¶\n \n \n added in\n go1.20",
|
||||
"content": "# type http.type ResponseController ¶\n \n \n added in\n go1.20\n\n```\ntype ResponseController struct {\n\t// contains filtered or unexported fields\n}\n```\n\nA ResponseController is used by an HTTP handler to control the response.",
|
||||
"url": "https://pkg.go.dev/http#type ResponseController ¶\n \n \n added in\n go1.20",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type ResponseController ¶\n \n \n added in\n go1.20",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type ResponseController struct {\n\t// contains filtered or unexported fields\n}"
|
||||
},
|
||||
"hash": "36e2020f81ee2d06574acfddd1cd69f53aeb77e53332f65f2c0b31fe5eb7cef0",
|
||||
"timestamp": "2026-02-19T12:17:17.237708223+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "38daa09938ee5138c4c2f46c",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type ResponseWriter ¶",
|
||||
"content": "# type http.type ResponseWriter ¶\n\n```\ntype ResponseWriter interface {\n\t// Header returns the header map that will be sent by\n\t// [ResponseWriter.WriteHeader]. The [Header] map also is the mechanism with which\n\t// [Handler] implementations can set HTTP trailers.\n\t//\n\t// Changing the header map after a call to [ResponseWriter.WriteHeader] (or\n\t// [ResponseWriter.Write]) has no effect unless the HTTP status code was of the\n\t// 1xx class or the modified headers are trailers.\n\t//\n\t// There are two ways to set Trailers. The preferred way is to\n\t// predeclare in the headers which trailers you will later\n\t// send by setting the \"Trailer\" header to the names of the\n\t// trailer keys which will come later. In this case, those\n\t// keys of the Header map are treated as if they were\n\t// trailers. See the example. The second way, for trailer\n\t// keys not known to the [Handler] until after the first [ResponseWriter.Write],\n\t// is to prefix the [Header] map keys with the [TrailerPrefix]\n\t// constant value.\n\t//\n\t// To suppress automatic response headers (such as \"Date\"), set\n\t// their value to nil.\n\tHeader() Header\n\n\t// Write writes the data to the connection as part of an HTTP reply.\n\t//\n\t// If [ResponseWriter.WriteHeader] has not yet been called, Write calls\n\t// WriteHeader(http.StatusOK) before writing the data. If the Header\n\t// does not contain a Content-Type line, Write adds a Content-Type set\n\t// to the result of passing the initial 512 bytes of written data to\n\t// [DetectContentType]. Additionally, if the total size of all written\n\t// data is under a few KB and there are no Flush calls, the\n\t// Content-Length header is added automatically.\n\t//\n\t// Depending on the HTTP protocol version and the client, calling\n\t// Write or WriteHeader may prevent future reads on the\n\t// Request.Body. For HTTP/1.x requests, handlers should read any\n\t// needed request body data before writing the response. Once the\n\t// headers have been flushed (due to either an explicit Flusher.Flush\n\t// call or writing enough data to trigger a flush), the request body\n\t// may be unavailable. For HTTP/2 requests, the Go HTTP server permits\n\t// handlers to continue to read the request body while concurrently\n\t// writing the response. However, such behavior may not be supported\n\t// by all HTTP/2 clients. Handlers should read before writing if\n\t// possible to maximize compatibility.\n\tWrite([]byte) (int, error)\n\n\t// WriteHeader sends an HTTP response header with the provided\n\t// status code.\n\t//\n\t// If WriteHeader is not called explicitly, the first call to Write\n\t// will trigger an implicit WriteHeader(http.StatusOK).\n\t// Thus explicit calls to WriteHeader are mainly used to\n\t// send error codes or 1xx informational responses.\n\t//\n\t// The provided code must be a valid HTTP 1xx-5xx status code.\n\t// Any number of 1xx headers may be written, followed by at most\n\t// one 2xx-5xx header. 1xx headers are sent immediately, but 2xx-5xx\n\t// headers may be buffered. Use the Flusher interface to send\n\t// buffered data. The header map is cleared when 2xx-5xx headers are\n\t// sent, but not with 1xx headers.\n\t//\n\t// The server will automatically send a 100 (Continue) header\n\t// on the first read from the request body if the request has\n\t// an \"Expect: 100-continue\" header.\n\tWriteHeader(statusCode int)\n}\n```\n\nA ResponseWriter interface is used by an HTTP handler to\nconstruct an HTTP response.",
|
||||
"url": "https://pkg.go.dev/http#type ResponseWriter ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type ResponseWriter ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type ResponseWriter interface {\n\t// Header returns the header map that will be sent by\n\t// [ResponseWriter.WriteHeader]. The [Header] map also is the mechanism with which\n\t// [Handler] implementations can set HTTP trailers.\n\t//\n\t// Changing the header map after a call to [ResponseWriter.WriteHeader] (or\n\t// [ResponseWriter.Write]) has no effect unless the HTTP status code was of the\n\t// 1xx class or the modified headers are trailers.\n\t//\n\t// There are two ways to set Trailers. The preferred way is to\n\t// predeclare in the headers which trailers you will later\n\t// send by setting the \"Trailer\" header to the names of the\n\t// trailer keys which will come later. In this case, those\n\t// keys of the Header map are treated as if they were\n\t// trailers. See the example. The second way, for trailer\n\t// keys not known to the [Handler] until after the first [ResponseWriter.Write],\n\t// is to prefix the [Header] map keys with the [TrailerPrefix]\n\t// constant value.\n\t//\n\t// To suppress automatic response headers (such as \"Date\"), set\n\t// their value to nil.\n\tHeader() Header\n\n\t// Write writes the data to the connection as part of an HTTP reply.\n\t//\n\t// If [ResponseWriter.WriteHeader] has not yet been called, Write calls\n\t// WriteHeader(http.StatusOK) before writing the data. If the Header\n\t// does not contain a Content-Type line, Write adds a Content-Type set\n\t// to the result of passing the initial 512 bytes of written data to\n\t// [DetectContentType]. Additionally, if the total size of all written\n\t// data is under a few KB and there are no Flush calls, the\n\t// Content-Length header is added automatically.\n\t//\n\t// Depending on the HTTP protocol version and the client, calling\n\t// Write or WriteHeader may prevent future reads on the\n\t// Request.Body. For HTTP/1.x requests, handlers should read any\n\t// needed request body data before writing the response. Once the\n\t// headers have been flushed (due to either an explicit Flusher.Flush\n\t// call or writing enough data to trigger a flush), the request body\n\t// may be unavailable. For HTTP/2 requests, the Go HTTP server permits\n\t// handlers to continue to read the request body while concurrently\n\t// writing the response. However, such behavior may not be supported\n\t// by all HTTP/2 clients. Handlers should read before writing if\n\t// possible to maximize compatibility.\n\tWrite([]byte) (int, error)\n\n\t// WriteHeader sends an HTTP response header with the provided\n\t// status code.\n\t//\n\t// If WriteHeader is not called explicitly, the first call to Write\n\t// will trigger an implicit WriteHeader(http.StatusOK).\n\t// Thus explicit calls to WriteHeader are mainly used to\n\t// send error codes or 1xx informational responses.\n\t//\n\t// The provided code must be a valid HTTP 1xx-5xx status code.\n\t// Any number of 1xx headers may be written, followed by at most\n\t// one 2xx-5xx header. 1xx headers are sent immediately, but 2xx-5xx\n\t// headers may be buffered. Use the Flusher interface to send\n\t// buffered data. The header map is cleared when 2xx-5xx headers are\n\t// sent, but not with 1xx headers.\n\t//\n\t// The server will automatically send a 100 (Continue) header\n\t// on the first read from the request body if the request has\n\t// an \"Expect: 100-continue\" header.\n\tWriteHeader(statusCode int)\n}"
|
||||
},
|
||||
"hash": "a25d19197b587b899ad5ce2069c49fd98afbff959dd846ad59cfa38e1f8d1cfa",
|
||||
"timestamp": "2026-02-19T12:17:17.237715276+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "59a67309b3f0a7768121140b",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type RoundTripper ¶",
|
||||
"content": "# type http.type RoundTripper ¶\n\n```\ntype RoundTripper interface {\n\t// RoundTrip executes a single HTTP transaction, returning\n\t// a Response for the provided Request.\n\t//\n\t// RoundTrip should not attempt to interpret the response. In\n\t// particular, RoundTrip must return err == nil if it obtained\n\t// a response, regardless of the response's HTTP status code.\n\t// A non-nil err should be reserved for failure to obtain a\n\t// response. Similarly, RoundTrip should not attempt to\n\t// handle higher-level protocol details such as redirects,\n\t// authentication, or cookies.\n\t//\n\t// RoundTrip should not modify the request, except for\n\t// consuming and closing the Request's Body. RoundTrip may\n\t// read fields of the request in a separate goroutine. Callers\n\t// should not mutate or reuse the request until the Response's\n\t// Body has been closed.\n\t//\n\t// RoundTrip must always close the body, including on errors,\n\t// but depending on the implementation may do so in a separate\n\t// goroutine even after RoundTrip returns. This means that\n\t// callers wanting to reuse the body for subsequent requests\n\t// must arrange to wait for the Close call before doing so.\n\t//\n\t// The Request's URL and Header fields must be initialized.\n\tRoundTrip(*Request) (*Response, error)\n}\n```\n\nRoundTripper is an interface representing the ability to execute a\nsingle HTTP transaction, obtaining the Response for a given Request.",
|
||||
"url": "https://pkg.go.dev/http#type RoundTripper ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type RoundTripper ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type RoundTripper interface {\n\t// RoundTrip executes a single HTTP transaction, returning\n\t// a Response for the provided Request.\n\t//\n\t// RoundTrip should not attempt to interpret the response. In\n\t// particular, RoundTrip must return err == nil if it obtained\n\t// a response, regardless of the response's HTTP status code.\n\t// A non-nil err should be reserved for failure to obtain a\n\t// response. Similarly, RoundTrip should not attempt to\n\t// handle higher-level protocol details such as redirects,\n\t// authentication, or cookies.\n\t//\n\t// RoundTrip should not modify the request, except for\n\t// consuming and closing the Request's Body. RoundTrip may\n\t// read fields of the request in a separate goroutine. Callers\n\t// should not mutate or reuse the request until the Response's\n\t// Body has been closed.\n\t//\n\t// RoundTrip must always close the body, including on errors,\n\t// but depending on the implementation may do so in a separate\n\t// goroutine even after RoundTrip returns. This means that\n\t// callers wanting to reuse the body for subsequent requests\n\t// must arrange to wait for the Close call before doing so.\n\t//\n\t// The Request's URL and Header fields must be initialized.\n\tRoundTrip(*Request) (*Response, error)\n}"
|
||||
},
|
||||
"hash": "d35b501612374afacff901af3acaaeebcb22464fede772a24ca87a8ed9d95b34",
|
||||
"timestamp": "2026-02-19T12:17:17.237721117+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "6e17e053f41676cfb2e05afe",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type SameSite ¶\n \n \n added in\n go1.11",
|
||||
"content": "# type http.type SameSite ¶\n \n \n added in\n go1.11\n\n```\ntype SameSite int\n```\n\nSameSite allows a server to define a cookie attribute making it impossible for\nthe browser to send this cookie along with cross-site requests. The main\ngoal is to mitigate the risk of cross-origin information leakage, and provide\nsome protection against cross-site request forgery attacks.",
|
||||
"url": "https://pkg.go.dev/http#type SameSite ¶\n \n \n added in\n go1.11",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type SameSite ¶\n \n \n added in\n go1.11",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type SameSite int"
|
||||
},
|
||||
"hash": "67cb7e2fd7645491b24244e3b2ac8ccc0e6f08e35f63b6144cc73bf78008940c",
|
||||
"timestamp": "2026-02-19T12:17:17.237724984+01:00"
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "b859d57fe3d630fbffa1fc40",
|
||||
"source": "http",
|
||||
"type": "go-type",
|
||||
"title": "http.type ServeMux ¶",
|
||||
"content": "# type http.type ServeMux ¶\n\n```\ntype ServeMux struct {\n\t// contains filtered or unexported fields\n}\n```\n\nServeMux is an HTTP request multiplexer.\nIt matches the URL of each incoming request against a list of registered\npatterns and calls the handler for the pattern that\nmost closely matches the URL.",
|
||||
"url": "https://pkg.go.dev/http#type ServeMux ¶",
|
||||
"metadata": {
|
||||
"fields": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "type",
|
||||
"method_count": 0,
|
||||
"package": "http",
|
||||
"symbol": "type ServeMux ¶",
|
||||
"type_kind": "alias",
|
||||
"underlying": "type ServeMux struct {\n\t// contains filtered or unexported fields\n}"
|
||||
},
|
||||
"hash": "4b534032974377baeec93fe79e97e8a6035764602c7d35d5eed77a666da298d9",
|
||||
"timestamp": "2026-02-19T12:17:17.23772822+01:00"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"id": "26d6a069e77bbf769284ff2e",
|
||||
"source": "3",
|
||||
"type": "python-module",
|
||||
"title": "Python 3.14.3 documentation - Python",
|
||||
"content": "# Module Python 3.14.3 documentation\n\nWelcome! This is the official documentation for Python 3.14.3.\n\nWelcome! This is the official documentation for Python 3.14.3.",
|
||||
"url": "https://docs.python.org/3/",
|
||||
"metadata": {
|
||||
"class_count": 0,
|
||||
"data_count": 0,
|
||||
"doc_url": "https://docs.python.org/3/",
|
||||
"exception_count": 0,
|
||||
"function_count": 0,
|
||||
"name": "Python 3.14.3 documentation",
|
||||
"path": "Python 3.14.3 documentation",
|
||||
"version": ""
|
||||
},
|
||||
"hash": "7d7dcfddbc2ff30f4718393a83605872b2fac9e85bbb4b44d6368dfb7bc3e69e",
|
||||
"timestamp": "2026-02-19T12:16:22.536161167+01:00"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
# React API Reference
|
||||
|
||||
# React API Reference
|
||||
|
||||
Hooks: 0, Components: 1, APIs: 0
|
||||
|
||||
|
||||
URL: https://react.dev/reference/react/hooks
|
||||
@@ -0,0 +1,8 @@
|
||||
# React Server Components
|
||||
|
||||
# <React Server Components />
|
||||
|
||||
|
||||
|
||||
|
||||
URL: https://react.dev/reference/react/hooks#React Server Components
|
||||
Reference in New Issue
Block a user