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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessInfo

type AccessInfo struct {
	AppID   int32  `json:"appid"`
	Mid     int64  `json:"mid"`
	Token   string `json:"access_token"`
	Expires int64  `json:"expires"`
}

AccessInfo aso_app_perm table

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 EmailBindLog

type EmailBindLog struct {
	ID        int64  `json:"id"`
	Mid       int64  `json:"mid"`
	Email     string `json:"email"`
	Timestamp int64  `json:"timestamp"`
}

EmailBindLog bind log

type LoginLog

type LoginLog struct {
	Mid       int64  `json:"mid"`
	Timestamp int64  `json:"timestamp"`
	LoginIP   int64  `json:"loginip"`
	Type      int64  `json:"type"`
	Server    string `json:"server"`
}

LoginLog login log.

type PMsg

type PMsg struct {
	Action string `json:"action"`
	Table  string `json:"type"`
	Data   *Token `json:"data"`
	CTime  int64  `json:"ctime"`
}

PMsg databus passport message

type PwdLog

type PwdLog struct {
	ID        int64  `json:"id"`
	Mid       int64  `json:"mid"`
	Timestamp int64  `json:"timestamp"`
	IP        int64  `json:"ip"`
	OldPwd    string `json:"old_pwd"`
	OldSalt   string `json:"old_salt"`
	NewPwd    string `json:"new_pwd"`
	NewSalt   string `json:"new_salt"`
}

PwdLog pwd log.

type TelBindLog

type TelBindLog struct {
	ID        int64  `json:"id"`
	Mid       int64  `json:"mid"`
	Tel       string `json:"tel"`
	Timestamp int64  `json:"timestamp"`
}

TelBindLog bind log

type Token

type Token struct {
	Mid     int64  `json:"mid"`
	Appid   int64  `json:"appid"`
	Subid   int64  `json:"appSubid"`
	Token   string `json:"accessToken"`
	RToken  string `json:"refreshToken"`
	CTime   int64  `json:"createAt"`
	Expires int64  `json:"expires"`
	Type    int64  `json:"type"`
}

Token user access token.

Jump to

Keyboard shortcuts

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