An open API service indexing awesome lists of open source software.

https://github.com/huakunshen/wol

Golang and Python implementation of Wakeonlan.
https://github.com/huakunshen/wol

cli go golang python python3 wakeonlan wol

Last synced: 4 months ago
JSON representation

Golang and Python implementation of Wakeonlan.

Awesome Lists containing this project

README

          

# WOL

## Golang

```bash
go get github.com/HuakunShen/wol/wol-go
```

### Installation As Executable

```bash
go install github.com/HuakunShen/wol@latest
# make sure your $GOPATH/bin is in PATH, for me, the executable is installed in ~/go/bin/wol
~/go/bin/wol --help
wol --help
```

### Usage
```go
import {
wol "github.com/HuakunShen/wol/wol-go"
}
...
wol.WakeOnLan(mac, ip, port)
```

### CLI Demo
- [main.go](./main.go)
- executable: [wol](./wol)

## Python

- [wol.py](./wol-py/wol.py)