https://github.com/ctlong/loggregator-v2-protobuf-example
Compare new loggregator v2 protobuf files against the old
https://github.com/ctlong/loggregator-v2-protobuf-example
Last synced: over 1 year ago
JSON representation
Compare new loggregator v2 protobuf files against the old
- Host: GitHub
- URL: https://github.com/ctlong/loggregator-v2-protobuf-example
- Owner: ctlong
- License: mit
- Created: 2022-06-17T17:40:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-17T18:22:08.000Z (about 4 years ago)
- Last Synced: 2025-01-25T19:42:19.481Z (over 1 year ago)
- Language: Go
- Size: 2.27 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# loggregator-v2-protobuf-example
An example for how old loggregator v2 generated protobuf files might compare to new loggregator v2 generated protobuf files.
## Setup
1. [Install go](https://go.dev/doc/install)
## Run
### Old server
1. Run `make run-old-server`.
1. Open a new terminal window.
1. Run a client against it, either:
1. Run the old client with `make run-old-client`,
1. Or, run the new client with `make run-new-client`.
### New server
1. Run `make run-new-server`.
1. Open a new terminal window.
1. Run a client against it, either:
1. Run the old client with `make run-old-client`,
1. Or, run the new client with `make run-new-client`.
## Test
```
go test -bench=. ./...
```