mirror of
https://github.com/kataras/iris.git
synced 2026-01-09 13:05:56 +00:00
add a new Party.EnsureStaticBindings method - read HISTORY.md
This commit is contained in:
@@ -27,6 +27,10 @@ type Party interface {
|
||||
//
|
||||
// It returns the same `APIBuilder` featured with Dependency Injection.
|
||||
ConfigureContainer(builder ...func(*APIContainer)) *APIContainer
|
||||
// EnsureStaticBindings panics on struct handler (controller)
|
||||
// if at least one input binding depends on the request and not in a static structure.
|
||||
// Should be called before `RegisterDependency`.
|
||||
EnsureStaticBindings() Party
|
||||
// RegisterDependency calls the `ConfigureContainer.RegisterDependency` method
|
||||
// with the provided value(s). See `HandleFunc` and `PartyConfigure` methods too.
|
||||
RegisterDependency(dependencies ...interface{})
|
||||
|
||||
Reference in New Issue
Block a user