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
DynModulesstruct. - init_
otel - module
- Create a
Modulewhich is associated with some components and providers. - new_app
Structs§
- Depot
- Store temp data for current request.
- Flow
Ctrl - 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
Handleris used for handleRequest.- Listener
Listenerrepresents a listener that can bind to a specific address and port and return an acceptor.- Scribe
Scribeis used to write data toResponse.- Writer
Writeris used to write data toResponse.
Type Aliases§
- Boxed
Error BoxedErroris a boxed error type that can be used as a trait object.- Result
- Result type which has
salvo::Erroras its error type.
Attribute Macros§
- async_
trait - dipper
- handler
handleris a macro to help createHandlerfrom function or impl block easily.