login

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Copyright 2019-2020 Axetroy. All rights reserved. MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestLoginLog

func GetLatestLoginLog(c helper.Context) (res schema.Response)

func GetLoginLog

func GetLoginLog(id string) (res schema.Response)

func GetLoginLogRouter

func GetLoginLogRouter(c *gin.Context)

func GetLoginLogs

func GetLoginLogs(c helper.Context, q Query) (res schema.List)

func GetLoginLogsRouter

func GetLoginLogsRouter(c *gin.Context)

Types

type Query

type Query struct {
	schema.Query
	Uid     *string `json:"uid" form:"uid"`         // 根据用户 ID 筛选
	Type    *int    `json:"type" form:"type"`       // 根据类型筛选
	Command *int    `json:"command" form:"command"` // 根据登陆命令筛选
	Ip      *string `json:"ip"`                     // 根据 IP 筛选
}

Jump to

Keyboard shortcuts

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