smurf

package
v0.0.0-...-e6cb9b4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MapVPNs = make(map[string]EntVPNInfo)

Functions

func AnnounceIP

func AnnounceIP(sIP string)

func AnnounceIPAndKey

func AnnounceIPAndKey(sSteamID64 string, sIP string, sNickname string, sUniqueKey string)

func CheckIPAndKey

func CheckIPAndKey(sSteamID64 string, sIP string, sNickname string, sUniqueKey string)

func CheckVPN

func CheckVPN(sIP string)

func ClearOutdated

func ClearOutdated()

func GetKnownAccounts

func GetKnownAccounts(sSteamID64 string) []string

func IsNotVPN

func IsNotVPN(sIP string) bool

func IsVPN

func IsVPN(sIP string) bool

func Watchers

func Watchers()

Types

type EntVPNInfo

type EntVPNInfo struct {
	IsVPN     bool
	IsInCheck bool
	UpdatedAt int64 //unix time in seconds
}

Jump to

Keyboard shortcuts

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