monitorModels

package
v0.0.0-...-7bb2ca5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StartTime = gtime.Datetime()

Functions

func NewServer

func NewServer() *server

Types

type Logininfor

type Logininfor struct {
	InfoId        int64                 `json:"infoId,string" db:"info_id"`
	Status        int8                  `json:"status" db:"status"`
	UserName      string                `json:"userName" db:"user_name"`
	Msg           string                `json:"msg" db:"msg"`
	IpAddr        string                `json:"ipAddr" db:"ipaddr"`
	LoginLocation string                `json:"loginLocation" db:"login_location"`
	Browser       string                `json:"browser" db:"browser"`
	Os            string                `json:"os" db:"os"`
	LoginTime     baizeEntity.BaiZeTime `json:"loginTime" db:"login_time"`
}

type LogininforDQL

type LogininforDQL struct {
	Status   string `form:"status" db:"status"`
	UserName string `form:"userName" db:"user_name"`
	IpAddr   string `form:"ipAddr" db:"ipaddr"`
	baizeEntity.BaseEntityDQL
}

type SysUserOnline

type SysUserOnline struct {
	TokenId       string  `json:"tokenId"`
	UserName      string  `json:"userName"`
	Ipaddr        string  `json:"ipaddr"`
	LoginLocation string  `json:"loginLocation"`
	Browser       string  `json:"browser"`
	Os            string  `json:"os"`
	LoginTime     int64   `json:"loginTime"`
	DeptName      *string `json:"deptName"`
}

func GetSysUserOnlineByUser

func GetSysUserOnlineByUser(loginUser *systemModels.LoginUser) *SysUserOnline

Jump to

Keyboard shortcuts

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