router

package
v0.0.0-...-e501a45 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyVerify

func KeyVerify(context *gin.Context)

func Load

func Load() *gin.Engine

Types

type AliveData

type AliveData struct {
	Ip     string `json:"ip"`
	UserId int    `json:"user_id"`
}

type AliveDataJSON

type AliveDataJSON struct {
	Data []AliveData `json:"data"`
}

type BlockIpInstance

type BlockIpInstance struct {
	Ip string `json:"ip"`
}

type BlockIpInstanceJSON

type BlockIpInstanceJSON struct {
	Data []BlockIpInstance `json:"data"`
}

type DetectData

type DetectData struct {
	ListId int64 `json:"list_id"`
	UserId int64 `json:"user_id"`
}

type DetectDataJSON

type DetectDataJSON struct {
	Data []DetectData `json:"data"`
}

type FunctionRouter

type FunctionRouter struct {
	// contains filtered or unexported fields
}

type InfoBody

type InfoBody struct {
	Load   string `json:"load"`
	Uptime string `json:"uptime"`
}

type NodeRouter

type NodeRouter struct {
	// contains filtered or unexported fields
}

type SpeedTestLog

type SpeedTestLog struct {
	TelecomePing     string `json:"telecomping"`
	TelecomeUpload   string `json:"telecomeupload"`
	TelecomeDownload string `json:"telecomedownload"`
	UnicomPing       string `json:"unicomping"`
	UnicomUpload     string `json:"unicomupload"`
	UnicomDownload   string `json:"unicomdownload"`
	CmccPing         string `json:"cmccping"`
	CmccUpload       string `json:"cmccupload"`
	CmccDownload     string `json:"cmccdownload"`
}

type SpeedTestLogJSON

type SpeedTestLogJSON struct {
	Data []SpeedTestLog `json:"data"`
}

type TrafficData

type TrafficData struct {
	U      int64 `json:"u"`
	D      int64 `json:"d"`
	UserId int64 `json:"user_id"`
}

type TrafficDataJSON

type TrafficDataJSON struct {
	Data []TrafficData `json:"data"`
}

type UserRouter

type UserRouter struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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