MCPcopy Create free account

hub / github.com/darksworm/go-wol-proxy / functions

Functions37 in github.com/darksworm/go-wol-proxy

↓ 29 callersMethodInfo
(msg string, args ...interface{})
main.go:40
↓ 13 callersMethodError
(msg string, args ...interface{})
main.go:41
↓ 3 callersMethodCloseIdleConnections
()
main.go:28
↓ 2 callersMethodSendWOL
(macAddr, broadcastIP string, port int)
main.go:32
↓ 2 callersMethodperformCheck
(name string, target *TargetState)
main.go:190
↓ 2 callersMethodproxyRequest
(w http.ResponseWriter, r *http.Request, target *Target)
main.go:721
↓ 2 callersMethodwaitForWake
(ctx context.Context, target *TargetState)
main.go:662
↓ 1 callersMethodCheck
(ctx context.Context, endpoint string, source string)
main.go:25
↓ 1 callersMethodCheck
(ctx context.Context, endpoint string, source string)
main.go:127
↓ 1 callersMethodCloseIdleConnections
()
main.go:121
↓ 1 callersMethodExecuteCommand
(host, user, keyPath, command string)
main.go:36
↓ 1 callersFunctionLoadConfig
Config loader
main.go:795
↓ 1 callersFunctionNewDefaultSSHExecutor
(logger Logger)
main.go:251
↓ 1 callersFunctionNewHTTPHealthChecker
(logger Logger)
main.go:107
↓ 1 callersFunctionNewProxyService
( config *ProxyConfig, healthChecker HealthChecker, wolSender WOLSender, sshExecutor SSHExecutor, logger
main.go:359
↓ 1 callersFunctionNewUDPWOLSender
(logger Logger)
main.go:242
↓ 1 callersMethodStart
(ctx context.Context)
main.go:488
↓ 1 callersMethodStartBackgroundChecks
(ctx context.Context, targets map[string]*TargetState, interval time.Duration)
main.go:26
↓ 1 callersMethodWaitForInitialChecks
(ctx context.Context)
main.go:27
↓ 1 callersMethodbackgroundCheck
(ctx context.Context, name string, target *TargetState, interval time.Duration)
main.go:171
↓ 1 callersMethodcheckInactiveTargets
()
main.go:451
↓ 1 callersMethodcreateMagicPacket
(mac net.HardwareAddr)
main.go:334
↓ 1 callersMethodextractTarget
(r *http.Request)
main.go:589
↓ 1 callersMethodhealthCacheStatus
(target *TargetState)
main.go:604
↓ 1 callersFunctionisSecureServer
(config *ProxyConfig)
main.go:484
↓ 1 callersMethodmarkInitialCheckDone
(name string)
main.go:231
↓ 1 callersMethodshutdownTarget
(targetName string)
main.go:375
↓ 1 callersMethodstartInactivityMonitor
(ctx context.Context)
main.go:436
↓ 1 callersMethodwakeAndWait
(ctx context.Context, target *TargetState)
main.go:629
MethodError
(msg string, args ...interface{})
main.go:907
MethodExecuteCommand
(host, user, keyPath, command string)
main.go:255
MethodInfo
(msg string, args ...interface{})
main.go:903
MethodSendWOL
(macAddr, broadcastIP string, port int)
main.go:303
MethodStartBackgroundChecks
(ctx context.Context, targets map[string]*TargetState, interval time.Duration)
main.go:149
MethodWaitForInitialChecks
(ctx context.Context)
main.go:156
MethodhandleRequest
(w http.ResponseWriter, r *http.Request)
main.go:549
Functionmain
Main function
main.go:912