Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthCookie ¶
type AuthCookie struct { ID int64 `json:"id"` Mid int64 `json:"mid"` Session string `json:"session"` CSRF string `json:"csrf"` Type int64 `json:"type"` Expires int64 `json:"expires"` }
AuthCookie for auth
type AuthToken ¶
type AuthToken struct { ID int64 `json:"id"` Mid int64 `json:"mid"` AppID int64 `json:"appid"` Token string `json:"token"` Expires int64 `json:"expires"` Type int64 `json:"type"` }
AuthToken for auth
type BMsg ¶
type BMsg struct { Action string `json:"action"` Table string `json:"table"` New json.RawMessage `json:"new"` Old json.RawMessage `json:"old"` }
BMsg databus binlog message.
type Cookie ¶
type Cookie struct { ID int64 Mid int64 Session string CSRF string Type int64 Expires int64 Ctime go_common_time.Time Mtime go_common_time.Time }
Cookie for auth
type OldCookie ¶
type OldCookie struct { ID int64 `json:"id"` Mid int64 `json:"mid"` Session string `json:"session_data"` CSRFToken string `json:"csrf_token"` Type int64 `json:"type"` Expires int64 `json:"expire_time"` ModifyTime string `json:"modify_time"` }
OldCookie old cookie
type OldToken ¶
type OldToken struct { ID int64 `json:"id"` Mid int64 `json:"mid"` AppID int64 `json:"appid"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` AppSubID int64 `json:"app_subid"` CreateAt int64 `json:"create_at"` Expires int64 `json:"expires"` Type int64 `json:"type"` CTime string `json:"ctime"` }
OldToken old token
Click to show internal directories.
Click to hide internal directories.