audit

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginRecord

type LoginRecord struct {
	LastLoginTime     int64  `json:"last_login_time"`     // 应用最近一次登录的时间
	LastLoginIP       string `json:"last_login_ip"`       // 最近一次登录的IP
	LoginFailedTimes  int    `json:"login_failed_times"`  // 应用最近一次连续登录失败的次数, 成功过后清零
	LoginSuccessTimes int64  `json:"login_success_times"` // 应用成功登录的次数
}

LoginRecord 登录日志

Jump to

Keyboard shortcuts

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