tegakituesday.com/src/cookies.rs

12 lines
No EOL
446 B
Rust

pub mod token {
pub const TOKEN_COOKIE: &str = "token";
pub const TOKEN_EXPIRE_COOKIE: &str = "token_expire";
}
pub mod user {
pub const USER_ID_COOKIE: &str = "user_id";
pub const USER_NAME_COOKIE: &str = "user_name";
pub const USER_DISCRIMINATOR_COOKIE: &str = "user_discriminator";
pub const USER_AVATAR_COOKIE: &str = "user_avatar";
}
pub const LANG_COOKIE: &str = "lang";
pub const WELCOMED_COOKIE: &str = "welcomed";