CrossClj

0.5.0 docs

SourceDocs



RECENT
    VARS
    conjv
    listing
    PatternListing
    route-descriptions
    RoutesListing

    « Index of all namespaces of this project

    Tools for listing endpoints & route descriptions.
    
    Private
    (conjv coll x)
    (listing routes)
    Generate a sequence of route descriptions from a Routes data structure,
    where each route description has :path, :endpoint, and potentially :keys.
    protocol
    (pattern-listing this m)
    Update m with the path components and keys required by this, a Pattern.
    Because a Pattern can be a set, which can match multiple paths, this function
    returns a seq of updated m's.
    Private
    (route-descriptions routes m)
    protocol
    (routes-listing this m)
    Generate a sequence of route descriptions from this, a Routes data structure,
    where a route description has :path, :endpoint, and potentially :keys.
    The map m propogates the higher-level path components & keys down to the endpoints.