util

package
v0.0.0-...-f59045e Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToCache

func AddToCache(key interface{}, lifeSpan time.Duration, data interface{}) bool

func GetConfig

func GetConfig() (*types.Config, error)

func GetFavicon

func GetFavicon(config *types.Config) error

func HandleReport

func HandleReport(conn types.ConnWrapper, addr string)

func RandRange

func RandRange(min int, max int) int

func Report

func Report(ip string, key string, port int) (int, error)

func SendWebhook

func SendWebhook(config *types.Config, ip string, reported bool, didHandshake bool, didPing bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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