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
database
deserialize
env
events
extensions
extract
jwt
mail
models
ntp
payload
permissions
prelude
response
settings
storage
telemetry
utils

Structs§

ApiError
AppState

Enums§

AppContainerType

Constants§

BUFFER_SIZE
FRONTEND_ASSETS
GIT_BRANCH
GIT_COMMIT
TARGET
VERSION

Statics§

FRONTEND_LANGUAGES

Traits§

Extendible

Functions§

full_version
likely
unlikely

Type Aliases§

GetIp
GetState
State