Module hello_server

Source
Expand description

Hello server with a cache.

Modulesยง

cache ๐Ÿ”’
Thread-safe key/value cache.
handler ๐Ÿ”’
Request handler with a cache.
statistics ๐Ÿ”’
Server statisics
tcp ๐Ÿ”’
TcpListener that can be cancelled.
thread_pool ๐Ÿ”’
Thread pool that joins all thread when dropped.

Structsยง

Cache
Cache that remembers the result for each key.
CancellableTcpListener
Like std::net::tcp::TcpListener, but cancellable.
Handler
Hello handler with a cache.
Report
Report for each operation
Statistics
Operation statisics
ThreadPool
Thread pool.