MCPcopy Create free account

hub / github.com/SR-G/sleep-on-lan / functions

Functions46 in github.com/SR-G/sleep-on-lan

↓ 12 callersMethodString
()
src/version.go:44
↓ 7 callersFunctiondumpRoute
(route string)
src/listener_http.go:86
↓ 6 callersFunctionrenderResult
func retrieveIpFromMac(mac strinc) string { requires defined interface ... }
src/listener_http.go:94
↓ 3 callersFunctionExecuteCommand
(Command CommandConfiguration)
src/sleeper_linux.go:15
↓ 3 callersFunctionLocalNetworkMap
()
src/utils_network.go:109
↓ 3 callersMethodParse
()
src/configuration.go:113
↓ 2 callersFunctionExecute
(command string)
src/utils_system.go:8
↓ 2 callersFunctionExitDaemon
(s string)
src/sol.go:27
↓ 2 callersFunctionGetInterfaces
Use the net library to return all Interfaces and capture any errors.
src/utils_network.go:49
↓ 2 callersMethodGetVersion
()
src/version.go:35
↓ 2 callersMethodInitDefaultConfiguration
()
src/configuration.go:64
↓ 2 callersFunctionReverseMacAddress
(address string)
src/utils.go:7
↓ 2 callersFunctiondoAction
()
src/listener_udp.go:102
↓ 2 callersFunctionsleepDLLImplementation
(state int)
src/sleeper_windows.go:60
↓ 1 callersFunctionEncodeMagicPacket
Use a MAC address to form a magic packet macAddr form 12:34:56:78:9a:bc
src/utils_network.go:91
↓ 1 callersFunctionExecuteActionWithDelay
(availableCommand CommandConfiguration)
src/listener_http.go:137
↓ 1 callersFunctionListenHTTP
(port int)
src/listener_http.go:143
↓ 1 callersFunctionListenUDP
(port int)
src/listener_udp.go:14
↓ 1 callersMethodLoad
(configurationFileName string)
src/configuration.go:75
↓ 1 callersMethodRefineLogger
()
src/configuration.go:93
↓ 1 callersMethodRegisterDefaultCommand
()
src/sleeper_linux.go:3
↓ 1 callersFunctionRegisterPossibleConfigurationFileNames
()
src/sleeper_linux.go:8
↓ 1 callersMethodWake
Send a Magic Packet to an broadcast class IP address via UDP
src/utils_network.go:123
↓ 1 callersFunctiondetermineConfigurationFileName
()
src/sol.go:117
↓ 1 callersFunctiondoActionWithDelay
()
src/listener_udp.go:58
↓ 1 callersFunctionexecuteCommandGenerateConfiguration
Sub-command : generate JSON blank configuration (init)
src/sol.go:72
↓ 1 callersFunctionextractMacAddress
(rlen int, buf [1024]byte)
src/listener_udp.go:78
↓ 1 callersMethodisEmpty
()
src/configuration.go:47
↓ 1 callersFunctionleftPad2Len
(s string, padStr string, overallLen int)
src/listener_udp.go:95
↓ 1 callersFunctionmatchAddress
(receivedAddress net.HardwareAddr)
src/listener_udp.go:64
↓ 1 callersFunctionpingIp
(ip string)
src/listener_http.go:113
↓ 1 callersFunctionshutdownDLLImplementation
()
src/sleeper_windows.go:74
↓ 1 callersFunctionsleepCommandLineImplementation
(cmd string)
src/sleeper_windows.go:47
↓ 1 callersFunctionsleepCommandLineImplementation
(cmd string)
src/sleeper_linux.go:24
↓ 1 callersFunctionstartDaemon
()
src/sol.go:149
MethodDumpVersion
()
src/version.go:26
FunctionExecuteCommand
(Command CommandConfiguration)
src/sleeper_windows.go:29
FunctionExternalIP
()
src/utils_network.go:10
FunctionGetInterfaceByHardwareAddress
Using the net library we will loop over all interfaces looking for the interface with matching mac_address.
src/utils_network.go:79
FunctionGetInterfaceByIndex
Use the net library to get Interface by Index number and capture any errors.
src/utils_network.go:59
FunctionGetInterfaceByName
Use the net library to get Interface by Name and capture any errors
src/utils_network.go:69
FunctionLocalLoggoFormatter
(entry loggo.Entry)
src/sol.go:36
MethodRegisterDefaultCommand
()
src/sleeper_windows.go:17
FunctionRegisterPossibleConfigurationFileNames
()
src/sleeper_windows.go:24
Functioninit
()
src/sol.go:43
Functionmain
()
src/sol.go:215