https://github.com/xandeer/go-tools
https://github.com/xandeer/go-tools
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xandeer/go-tools
- Owner: xandeer
- License: mit
- Created: 2018-08-14T08:45:51.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T04:12:43.000Z (almost 7 years ago)
- Last Synced: 2025-02-15T10:38:30.229Z (4 months ago)
- Language: Go
- Size: 11.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-tools
## hs
A static http server.
Install:
```shell
go get -u github.com/xandeer/go-tools/hs
```Usage:
```shell
# hs -d dir -p port
hs -d ~/tmp # default ./
hs -p 1234 # default 9999
```## ghh
Listen for github webhook, just for push event. Run `make` after pull.
Install:
```shell
go get -u github.com/xandeer/go-tools/ghh
```Usage:
```shell
# hs -d dir -p port -s secret -b branches
hs -s serect -d ~/tmp # default ./
hs -s serect -p 1234 # default 3001
hs -s serect -b master,dev # default master
```