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

func InetNtoA

func InetNtoA(ip int64) string

InetNtoA .

Types

type ArgLoginLogs

type ArgLoginLogs struct {
	Mid   int64
	Limit int
}

ArgLoginLogs arg for RPC.LoginLogs.

type FaceApply

type FaceApply struct {
	ID         int64  `json:"-"`
	Mid        int64  `json:"mid"`
	OldFace    string `json:"old_face"`
	NewFace    string `json:"new_face"`
	ApplyTime  int64  `json:"apply_time"`
	Status     string `json:"status"`
	Operator   string `json:"operator"`
	ModifyTime string `json:"modify_time"`
}

FaceApply face record.

type HistoryPwd

type HistoryPwd struct {
	OldPwd  string
	OldSalt string
}

HistoryPwd history pwd

type HistoryPwdCheckParam

type HistoryPwdCheckParam struct {
	Mid int64  `form:"mid"`
	Pwd string `form:"pwd"`
}

HistoryPwdCheckParam history pwd check param

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 LoginLogResp

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

LoginLogResp login log.

func Format

func Format(l *LoginLog) *LoginLogResp

Format format login log to login log resp.

Jump to

Keyboard shortcuts

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