struct

Analyzer::Crystal::Kemal::Wiring

Inherits Struct < Value < Object

How a router is wired into the app, by router name: its DSL mount paths, the parent.mount "/p", child calls it hangs under, and its own Kemal::Router.new("/pre") prefix.

Constructors

new(mounts : Hash(String, Array(String)) = {} of String => Array(String), parents : Hash(String, Array(Tuple(String, String))) = {} of String => Array(Tuple(String, String)), prefixes : Hash(String, String) = {} of String => String)
Source

Instance methods

clone
Source
copy_with(mounts _mounts = @mounts, parents _parents = @parents, prefixes _prefixes = @prefixes)
Source
mounts
parents
prefixes