Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lucky_router
v0.5.1
LuckerRouter
PathReader
LuckyRouter
DuplicateRouteError
Fragment
InvalidGlobError
InvalidPathError
LuckyRouterError
Match
Matcher
NoMatch
PathNormalizer
PathPart
Built with Crystal 1.9.2
2023-10-08 12:52:42 UTC
struct
LuckyRouter::Match(T)
LuckyRouter::Match(T)
Struct
Value
Object
Defined in:
lucky_router/match.cr
Constructors
.new
(payload : T, params : Hash(String, String))
Instance Method Summary
#params
: Hash(String, String)
#payload
: T
Constructor Detail
def self.
new
(payload : T, params : Hash(String, String))
#
[
View source
]
Instance Method Detail
def
params
: Hash(String, String)
#
[
View source
]
def
payload
: T
#
[
View source
]