Skip to main content

Crate impulse_static_server

Crate impulse_static_server 

Source
Expand description

Static server for your frontend.

You can use it by itself (with cargo build) or include as a library and use frontend_router().

Structs§

CacheMap
In-memory cache implementation for files based on DashMap.
NoRedirectStaticRouter
Static router with no redirections allowed.
ProvidedRoutesStaticRouter
Static router with only provided routes.
StaticRouter
Static router.

Functions§

frontend_router
Static router.
frontend_router_from_given_dist
Static router with given dist path.