package
0.0.2
Repository: https://github.com/adamaho/realtime.git
Documentation: pkg.go.dev

# README

Echo Count

Increment and decrement a common counter using the echo framework.

Running the Example

https is required for http2 to work, so we need to create some certs.

mkcert -install -cert-file ./cert.pem -key-file ./key.pem localhost

Usage

Read Count

curl -N -s -H "x-stream: true" https://localhost:3000/count | jq

Increment Count

curl -X POST https://localhost:3000/count/increment

Decrement Count

curl -X POST https://localhost:3000/count/decrement

# Constants

No description provided by the author