Module nova_router

.

Copyright © (C) 2018, Niclas Axelsson

Behaviours: gen_server.

Authors: Niclas Axelsson (niclas@burbas.se).

Description

Function Index

add_route/5
add_route/6
add_route/7
apply_routes/0
get_main_app/0
get_routes/0
process_routefile/2
remove_route/2
start_link/0 Starts the server.

Function Details

add_route/5

add_route(App, Module, Func, Route, Security) -> any()

add_route/6

add_route(App, Module, Func, Host, Route, Security) -> any()

add_route/7

add_route(App, Module, Func, Host, Route, Security, Method) -> any()

apply_routes/0

apply_routes() -> any()

get_main_app/0

get_main_app() -> any()

get_routes/0

get_routes() -> any()

process_routefile/2

process_routefile(App, Routefile) -> any()

remove_route/2

remove_route(Host, Route) -> any()

start_link/0

start_link() -> {ok, Pid} | ignore | {error, Error}

Starts the server


Generated by EDoc