mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
.DI() to ConfigureContainer(...builders)
Former-commit-id: 169671a8b5b706dc8f136e68c1a060f27a2c421b
This commit is contained in:
5
go19.go
5
go19.go
@@ -83,6 +83,11 @@ type (
|
||||
//
|
||||
// A shortcut for the `core/router#Party`, useful when `PartyFunc` is being used.
|
||||
Party = router.Party
|
||||
// APIContainer is a wrapper of a common `Party` featured by Dependency Injection.
|
||||
// See `Party.ConfigureContainer` for more.
|
||||
//
|
||||
// A shortcut for the `core/router#APIContainer`.
|
||||
APIContainer = router.APIContainer
|
||||
// DirOptions contains the optional settings that
|
||||
// `FileServer` and `Party#HandleDir` can use to serve files and assets.
|
||||
// A shortcut for the `router.DirOptions`, useful when `FileServer` or `HandleDir` is being used.
|
||||
|
||||
Reference in New Issue
Block a user