Crate dipper

Crate dipper 

Source
Expand description

DIPPER Core modules

Modules§

affix_state
Middleware for adding shared application state to the request context.
api_craft
app
catch_panic
Middleware for catch panic in handlers.
core
The core crate of Salvo web framework.
dyn_mod
fnd
This is the foundation module, providing best practices for auxiliary services such as identity authentication (authn), data authorization (authz), and email.
jwt_auth
Provides JWT (JSON Web Token) authentication support for the Salvo web framework.
mode
mw
oapi
OpenAPI support for salvo, modified from utoipa, It uses simple proc macros which you can use to annotate your code to have items documented.
otel
prelude

Macros§

dyn_modules
Then, you will get DynModules struct.
init_otel
module
Create a Module which is associated with some components and providers.
new_app

Structs§

Depot
Store temp data for current request.
FlowCtrl
Control the flow of execute handlers.
Request
Represents an HTTP request.
Response
Represents an HTTP response.
Router
Route request to different handlers.
Server
HTTP Server.
Service
Service http request.

Enums§

Error
Errors that can happen inside salvo.

Traits§

Extractible
If a type implements this trait, it will give a metadata, this will help request to extracts data to this type.
Handler
Handler is used for handle Request.
Listener
Listener represents a listener that can bind to a specific address and port and return an acceptor.
Scribe
Scribe is used to write data to Response.
Writer
Writer is used to write data to Response.

Type Aliases§

BoxedError
BoxedError is a boxed error type that can be used as a trait object.
Result
Result type which has salvo::Error as its error type.

Attribute Macros§

async_trait
dipper
handler
handler is a macro to help create Handler from function or impl block easily.

Derive Macros§

Component
Provider