CrossClj

0.2.3 docs

SourceDocs



RECENT
    VARS
    ->TableAPIRouter
    map->TableAPIRouter
    table-api-router

    « Index of all namespaces of this project

    API router (instance of IAPIRouter) that uses a predefined lookup
    table to map API calls to Clojure functions.
    
    * table-atom is an atom of a map. Keys are keyword API call names
      (typically keywords), and values are functions.
    
    The router will accept string API call names in incoming messages and
    automatically keywordize them, for JSON compatibility.
    (->TableAPIRouter table-atom)
    Positional factory function for class com.paullegato.bureaucrat.api_routers.table_api_router.TableAPIRouter.
    
    (map->TableAPIRouter m__7585__auto__)
    Factory function for class com.paullegato.bureaucrat.api_routers.table_api_router.TableAPIRouter, taking a map of keywords to field values.
    
    (table-api-router initial-routes)
    Returns a new TableAPIRouter with the given initial routes.