model

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

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 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

type Refresh

type Refresh struct {
	ID      int64
	Mid     int64
	AppID   int64
	Refresh string
	Token   string
	Expires int64
	Ctime   go_common_time.Time
}

Refresh for auth

type Token

type Token struct {
	ID      int64
	Mid     int64
	AppID   int64
	Token   string
	Expires int64
	Type    int64
	Ctime   go_common_time.Time
}

Token for auth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL