Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Alg ¶
type Alg struct {
Key string
}
Alg struct JWT ni shakllantirishdagi algorithm strukturasining qabul qiladi
type Lite ¶
type Lite struct {
// contains filtered or unexported fields
}
Lite struct SQLite bazaga ulanish strukturasi
func (*Lite) GetUserSession ¶
GetUserSession function berilgan token yordamida bazadagi sessiyani olib beradi
func (*Lite) RemoveUserSession ¶
RemoveUserSession funksiyasi berilgan token orqali bazadagi sessiyani o'chirib tashlaydi
func (*Lite) SetUserSession ¶
SetUserSession function token va foydalanuvchi ID raqamini bazaga qo'yish orqali yangi sessiya yaratadi
func (*Lite) UpdateUserSession ¶
UpdateUserSession funksiyasi berilgan eski tokenni yangilab sessiya vaqtini uzaytiradi
Click to show internal directories.
Click to hide internal directories.