Module routes

Source

Modules§

middleware
Provides the authentication middleware by sending the Bearer token to [sylvia-iot-auth].

Structs§

CtrlSenders
Control channel senders.
ErrReq
The sylvia-iot module specific error codes in addition to standard sylvia_iot_corelib::err::ErrResp.
GetVersionQuery
Query parameters for GET /version
State
The resources used by this service.

Functions§

get_version
new_ctrl_senders
new_data_sender
Create data channel sender queue.
new_service
To register service URIs in the specified root path.
new_state
To create resources for the service.