queue-push

command
v2.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

README

queue-push example

Demonstrates Frame queue HTTP push multiplexing alongside classic mem:// pull.

Run

cd examples/queue-push
go run .

Push a message

curl -sS -X POST http://localhost:8080/_frame/queue/events \
  -H 'Content-Type: application/json' \
  -d '{"message":"hello push"}'

CloudEvents binary:

curl -sS -X POST http://localhost:8080/_frame/queue/events \
  -H 'Ce-Specversion: 1.0' \
  -H 'Ce-Id: demo-1' \
  -H 'Ce-Type: com.example.demo' \
  -H 'Ce-Source: //local' \
  -H 'Content-Type: application/json' \
  -d '{"message":"hello ce"}'

Knative

Point a Trigger at http://<service>/_frame/queue/events and register the subscriber as push://events. See docs/queue.md.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL