We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f8f3ad + dc41bff commit 2f56d8dCopy full SHA for 2f56d8d
1 file changed
data/gin-gonic.json
@@ -42,6 +42,10 @@
42
{
43
"definition": "যেকোন পোর্টে সার্ভার রান করা",
44
"code": "router.Run(\":3000\") // 3000 পোর্টে সার্ভার রান করা"
45
+ },
46
+ {
47
+ "definition": "কাস্টম HTTP কনফিগারেশন",
48
+ "code": "s := &http.Server{\n\tAddr: \":8080\",\n\tHandler: router,\n\tReadTimeout: 10 * time.Second,\n\tWriteTimeout: 10 * time.Second,\n\tMaxHeaderBytes: 1 << 20,\n}\ns.ListenAndServe()"
49
}
50
]
51
},
0 commit comments