{"repo":"devfeel/dotweb","free":true,"listed":false,"github":"https://github.com/devfeel/dotweb","clone":"git clone https://github.com/devfeel/dotweb.git","description":"Simple and easy go web micro framework","language":"Go","stars":1377,"topics":["httpcontext","dotweb","handler","cache","golang","goweb","go","httpserver","web","webframework"],"license":"MIT","category":"data-pipelines","readme_excerpt":"DotWeb Simple and easy go web micro framework Requirements - Go 1.24+ (最低版本要求) - 支持 go mod 注意：Go 1.23 及以下版本存在标准库安全漏洞，建议使用 Go 1.24 或更高版本。 Document: https://www.kancloud.cn/devfeel/dotweb/346608 Guide: https://github.com/devfeel/dotweb/blob/master/docs/GUIDE.md 1. Install 2. Getting Started examples: https://github.com/devfeel/dotweb-example 3. Features 支持go mod 支持静态路由、参数路由、组路由 路由支持文件/目录服务，支持设置是否允许目录浏览 HttpModule支持，支持路由之前全局级别的自定义代码能力 中间件支持，支持App、Group、Router级别的设置 - https://github.com/devfeel/middleware Feature支持，可绑定HttpServer全局启用 支持STRING/JSON/JSONP/HTML格式输出 集成Mock能力 支持自定义Context 集成Timeout Hook 全局HTTP错误处理 全局日志处理 支持Hijack与websocket 内建Cache支持 内建Session支持 - 支持主备redis自动切换 内建TLS支持 支持接入第三方模板引擎（需实现dotweb.Renderer接口） 模块可配置 自集成基础统计数据，并支持按分钟为单位的间隔时间统计数据输出 Config Example dotweb.conf dotweb.json 4. Performance DotWeb 1.9.2 16core16G -- -- -- -- -- -- -- -- -- -- -- -- -- -- cpu 内存 Samples Average Median 90%Line 95%Line 99%Line Min Max Error% Throughput Received KB/Sec Send KB/Sec 40% 39M 15228356 19 4 43 72 204 0 2070 0.00% 48703.47 7514.79 8656.28 40% 42M 15485189 18 4 41 63 230 0 3250 0.00% 49512.99 7639.7 8800.16 40% 44M 15700385 18 3 41 64 233 0 2083 0.00% 50203.32 7746.22 8922.86 ECHO 1.9.2 16core16G cpu 内存 Samples Average Median 90%Line 95%Line 99%Line Min Max Error% Throughput Received KB/Sec Send KB/Sec 38% 35M 15307586 19 4 44 76 181 0 1808 0.00% 48951.22 6166.71 9034.94 36% 35M 15239058 19 4 45 76 178 0 2003 0.00% 48734.26 6139.37 8994.9 37% 37M 15800585 18 3 41 66 229 0 2355 0.0","default_branch":null,"files":null,"tree":[],"storefront":"/r/devfeel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/devfeel/dotweb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}