1
0
mirror of https://github.com/taigrr/log-socket synced 2025-01-18 04:53:14 -08:00

docs: Updated README to include running example.

This commit is contained in:
Ethan Holz 2022-10-10 12:16:52 -05:00
parent e97d37012e
commit 8e044e3993
No known key found for this signature in database
GPG Key ID: F5AAFC41D7A9D7D9

View File

@ -6,3 +6,10 @@ log-socket
To install the library:
`go get github.com/taigrr/log-socket`
## Running
To run a demo of this library:
`go run main.go`
This demo will do a sample of every log type and push results to `0.0.0.0:8080`. Once running, you can open a browser and navigate to
`0.0.0.0:8080` to see an example implementation of how logs are streamed.