Thanks to visit codestin.com
Credit goes to docs.rs

Crate random_image_server

Crate random_image_server 

Source

Modules§

cache
config
env
state
termination

Structs§

ImageServer
The main server structure

Constants§

ALLOWED_IMAGE_EXTENSIONS

Functions§

handle_random_image
Handle random image serving
handle_request
Handle incoming HTTP requests
handle_sequential_image
Handle sequential image serving
init_logging
Initialize the global tracing subscriber based on configuration
read_image_from_path
Read an image file from the given path and return it as a CacheValue
read_image_from_url
Fetch an image from a URL and return it as a CacheValue