Skip to main content

Crate shared

Crate shared 

Source
Expand description

Shared library for the Calagopus Panel.

This library contains code that is shared between the backend and extensions. It includes models, utilities, and other common functionality to avoid repetition and ensure consistency across the project. If something for a job exists in here, it’s generally preferred to be used instead of re-implementing it elsewhere.

Re-exports§

pub use payload::Payload;

Modules§

cache
cap
captcha
censor
crypt
database
deserialize
env
events
extensions
extract
git
heavy
ignore_list
jwt
mail
models
net
ntp
payload
permissions
prelude
response
retry
settings
storage
telemetry
tunnel
updates
utils

Structs§

ApiError
AppState
EmbeddedFrontend
FrontendAsset
RequestHost

Enums§

AppContainerType

Constants§

BUFFER_SIZE
GIT_BRANCH
GIT_COMMIT
TARGET
VERSION

Statics§

FRONTEND_LANGUAGES

Traits§

Extendible

Functions§

frontend_asset
frontend_index_html
full_version
likely
register_frontend
unlikely

Type Aliases§

GetIp
GetRequestHost
GetState
State