mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 12:07:28 +00:00
Nothing crazy, yet. Add an iris.StaticEmbeddedHandler shortcut of router.StaticEmbeddedHandler and extend the configuration's tests
Former-commit-id: 7a105c12ffe08f071bff2c212f96d648ed58c542
This commit is contained in:
6
iris.go
6
iris.go
@@ -303,6 +303,12 @@ var (
|
||||
//
|
||||
// A shortcut for the `context#LimitRequestBodySize`.
|
||||
LimitRequestBodySize = context.LimitRequestBodySize
|
||||
// StaticEmbeddedHandler returns a Handler which can serve
|
||||
// embedded into executable files.
|
||||
//
|
||||
//
|
||||
// Examples: https://github.com/kataras/iris/tree/master/_examples/file-server
|
||||
StaticEmbeddedHandler = router.StaticEmbeddedHandler
|
||||
// Gzip is a middleware which enables writing
|
||||
// using gzip compression, if client supports.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user