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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user