Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/darksworm/go-wol-proxy
/ functions
Functions
37 in github.com/darksworm/go-wol-proxy
⨍
Functions
37
◇
Types & classes
13
↓ 29 callers
Method
Info
(msg string, args ...interface{})
main.go:40
↓ 13 callers
Method
Error
(msg string, args ...interface{})
main.go:41
↓ 3 callers
Method
CloseIdleConnections
()
main.go:28
↓ 2 callers
Method
SendWOL
(macAddr, broadcastIP string, port int)
main.go:32
↓ 2 callers
Method
performCheck
(name string, target *TargetState)
main.go:190
↓ 2 callers
Method
proxyRequest
(w http.ResponseWriter, r *http.Request, target *Target)
main.go:721
↓ 2 callers
Method
waitForWake
(ctx context.Context, target *TargetState)
main.go:662
↓ 1 callers
Method
Check
(ctx context.Context, endpoint string, source string)
main.go:25
↓ 1 callers
Method
Check
(ctx context.Context, endpoint string, source string)
main.go:127
↓ 1 callers
Method
CloseIdleConnections
()
main.go:121
↓ 1 callers
Method
ExecuteCommand
(host, user, keyPath, command string)
main.go:36
↓ 1 callers
Function
LoadConfig
Config loader
main.go:795
↓ 1 callers
Function
NewDefaultSSHExecutor
(logger Logger)
main.go:251
↓ 1 callers
Function
NewHTTPHealthChecker
(logger Logger)
main.go:107
↓ 1 callers
Function
NewProxyService
( config *ProxyConfig, healthChecker HealthChecker, wolSender WOLSender, sshExecutor SSHExecutor, logger
main.go:359
↓ 1 callers
Function
NewUDPWOLSender
(logger Logger)
main.go:242
↓ 1 callers
Method
Start
(ctx context.Context)
main.go:488
↓ 1 callers
Method
StartBackgroundChecks
(ctx context.Context, targets map[string]*TargetState, interval time.Duration)
main.go:26
↓ 1 callers
Method
WaitForInitialChecks
(ctx context.Context)
main.go:27
↓ 1 callers
Method
backgroundCheck
(ctx context.Context, name string, target *TargetState, interval time.Duration)
main.go:171
↓ 1 callers
Method
checkInactiveTargets
()
main.go:451
↓ 1 callers
Method
createMagicPacket
(mac net.HardwareAddr)
main.go:334
↓ 1 callers
Method
extractTarget
(r *http.Request)
main.go:589
↓ 1 callers
Method
healthCacheStatus
(target *TargetState)
main.go:604
↓ 1 callers
Function
isSecureServer
(config *ProxyConfig)
main.go:484
↓ 1 callers
Method
markInitialCheckDone
(name string)
main.go:231
↓ 1 callers
Method
shutdownTarget
(targetName string)
main.go:375
↓ 1 callers
Method
startInactivityMonitor
(ctx context.Context)
main.go:436
↓ 1 callers
Method
wakeAndWait
(ctx context.Context, target *TargetState)
main.go:629
Method
Error
(msg string, args ...interface{})
main.go:907
Method
ExecuteCommand
(host, user, keyPath, command string)
main.go:255
Method
Info
(msg string, args ...interface{})
main.go:903
Method
SendWOL
(macAddr, broadcastIP string, port int)
main.go:303
Method
StartBackgroundChecks
(ctx context.Context, targets map[string]*TargetState, interval time.Duration)
main.go:149
Method
WaitForInitialChecks
(ctx context.Context)
main.go:156
Method
handleRequest
(w http.ResponseWriter, r *http.Request)
main.go:549
Function
main
Main function
main.go:912