1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-01 01:07:06 +00:00

Push v8.3.4 | Read HISTORY.md

Former-commit-id: e660dd91a4aae6d58c823f89cca733f02256c819
This commit is contained in:
kataras
2017-08-23 17:01:51 +03:00
parent 8b3c44b0a3
commit 91bad4b82b
7 changed files with 47 additions and 8 deletions

View File

@@ -5,11 +5,19 @@ package context
type RouteReadOnly interface {
// Name returns the route's name.
Name() string
// String returns the form of METHOD, SUBDOMAIN, TMPL PATH.
String() string
// Method returns the route's method.
Method() string
// Subdomains returns the route's subdomain.
Subdomain() string
// Path returns the route's original registered path.
Path() string
// String returns the form of METHOD, SUBDOMAIN, TMPL PATH.
String() string
// IsOnline returns true if the route is marked as "online" (state).
IsOnline() bool