Documentation
¶
Index ¶
Constants ¶
View Source
const ( Seperator string = ":" Salt string = "django.core.signing" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthUser ¶
type AuthUser struct {
bun.BaseModel `bun:"table:auth_user"`
Id int64 `json:"id"`
Password string `json:"password"`
LastLogin time.Time `json:"last_login"`
Username string `json:"username"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Email string `json:"email"`
IsStaff bool `json:"is_staff"`
IsActive bool `json:"is_active"`
DateJoined time.Time `json:"date_joined"`
}
type Session ¶
type Session struct {
bun.BaseModel `bun:"table:django_session"`
SessionKey string `bun:"session_key,pk"`
SessionData string `bun:"session_data"`
ExpireDate time.Time `bun:"expire_date"`
}
func (*Session) CompressObject ¶
func (*Session) EncodeObject ¶
func (*Session) SignObject ¶
Click to show internal directories.
Click to hide internal directories.