byene

Results 19 comments of byene

I'm willing to try this feature, my basic thought is to add a interface like ``` StaticFSHandler(prePath string, staticFS fs.FS) RequestHandler ``` and modify fasthttp.FS as talked above

ooohhhh!, I want to try it. is there any limit to develop a bolt library in golang or time limit? my basic thought using https://github.com/cloudwego/netpoll or https://github.com/panjf2000/gnet as network layer

so the library is to finish the three basic functions of sofabolt(https://github.com/sofastack/sofa-bolt)? and I see sofabolt has some feature depend on Netty not in the list of basic function

@seeflood no questions currently. sure, i will do it (๑・`◡´・๑)

After reading how hertz handle `single part` , i found it's quite different from go std http。 **the core difference is go std http read the bytes once but hertz...

what `during .Instance()` mean ? auto-reloading Render may add some time conditions such as cron ? and set a default cron if is auto-reloading Render

i see `fiber `support this ,every time do the Render() will the tpl be reloaded if `engine.reload` is ture https://github.com/gofiber/fiber/blob/c450072f4a490355dffc31f5cc36036a2383b1c7/internal/template/html/html.go#L187 so may hertz do as fiber ?

why close?need some help?

I thought this may be done like [bodyStreamPool](https://github.com/cloudwego/hertz/blob/97bb37e14eec8fd29e7d23e0ce25fe4e01d76954/pkg/protocol/http1/ext/stream.go#L58)? by the way you could also think how to reset `HeaderScanner` and `HeaderValueScanner` , such as how to handle `sync.Pool` and `[]byte`?

support [multipart/byteranges](https://datatracker.ietf.org/doc/html/rfc7233#page-18) is a bit complex the content of multipart/byteranges like ``` --3d6b6a416f9b5 Content-Type: text/html Content-Range: bytes 0-50/1270 Example Do --3d6b6a416f9b5 Content-Type: text/html Content-Range: bytes 100-150/1270 eta http-equiv="Content-type" content="text/html; c...