mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
25 lines
823 B
Go
25 lines
823 B
Go
package mvc
|
|
|
|
import (
|
|
"github.com/kataras/iris/hero"
|
|
"github.com/kataras/iris/versioning"
|
|
)
|
|
|
|
type (
|
|
// Result is a type alias for the `hero#Result`, useful for output controller's methods.
|
|
Result = hero.Result
|
|
// Response is a type alias for the `hero#Response`, useful for output controller's methods.
|
|
Response = hero.Response
|
|
// View is a type alias for the `hero#View`, useful for output controller's methods.
|
|
View = hero.View
|
|
// DeprecationOptions describes the deprecation headers key-values.
|
|
// Is a type alias for the `versioning#DeprecationOptions`.
|
|
//
|
|
// See `Deprecated` package-level option.
|
|
DeprecationOptions = versioning.DeprecationOptions
|
|
)
|
|
|
|
// Try is a type alias for the `hero#Try`,
|
|
// useful to return a result based on two cases: failure(including panics) and a succeess.
|
|
var Try = hero.Try
|