libknary

package
v3.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptDNS

func AcceptDNS(wg *sync.WaitGroup)

func AcceptRequest

func AcceptRequest(ln net.Listener, wg *sync.WaitGroup)

func CheckLastHit

func CheckLastHit() bool

func CheckTLSExpiry

func CheckTLSExpiry(domain string, config *tls.Config) (bool, error)

func CheckUpdate

func CheckUpdate(version string, githubVersion string, githubURL string) (bool, error)

func GiveHead

func GiveHead(colour int)

func HandleDNS

func HandleDNS(w dns.ResponseWriter, r *dns.Msg, EXT_IP string)

func HeartBeat

func HeartBeat(version string, firstrun bool) (bool, error)

func LoadBlacklist

func LoadBlacklist() (bool, error)

func PerformALookup

func PerformALookup(domain string) (string, error)

func PrepareRequest

func PrepareRequest() (net.Listener, net.Listener)

func Printy

func Printy(msg string, col int)

func StartMaintenance

func StartMaintenance(version string, githubVersion string, githubURL string)

func UsageStats

func UsageStats(version string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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