mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 12:31:58 +00:00
Version 11 released. Read https://github.com/kataras/iris/blob/master/HISTORY.md#su-21-october-2018--v1100
Former-commit-id: fe6305deed00e170bf4d39a12c0644fe686e0a24
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package context
|
||||
|
||||
import "github.com/kataras/iris/core/router/macro"
|
||||
import "github.com/kataras/iris/macro"
|
||||
|
||||
// RouteReadOnly allows decoupled access to the current route
|
||||
// inside the context.
|
||||
@@ -25,7 +25,7 @@ type RouteReadOnly interface {
|
||||
|
||||
// StaticPath returns the static part of the original, registered route path.
|
||||
// if /user/{id} it will return /user
|
||||
// if /user/{id}/friend/{friendid:int} it will return /user too
|
||||
// if /user/{id}/friend/{friendid:uint64} it will return /user too
|
||||
// if /assets/{filepath:path} it will return /assets.
|
||||
StaticPath() string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user