https://github.com/digibib/tcpsink
A simple tcp slurping server for logging
https://github.com/digibib/tcpsink
Last synced: about 1 year ago
JSON representation
A simple tcp slurping server for logging
- Host: GitHub
- URL: https://github.com/digibib/tcpsink
- Owner: digibib
- Archived: true
- Created: 2016-12-16T10:09:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-16T10:40:01.000Z (over 9 years ago)
- Last Synced: 2025-03-06T09:48:08.979Z (over 1 year ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tcpsink
Very simple tcp server for slurping TCP connections that need no reponse
Usage of tcpsink:
```
-l string
local address (default "9999")
-h string
host to listen on (default "localhost")
-p string
prefix for logging (default "tcpsink: ")
-v int
verbosity level (default 0)
-s string
remove lines including `string`
```
To build docker image:
```
CGO_ENABLED=0 go build .
docker build -t .
```