example

command
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Runnable CloudEvent demo. Requires a local NATS server with JetStream enabled.

Start NATS (for example with Docker):

docker run --rm -p 4222:4222 nats:latest -js

Run:

go run ./component/cloudevent/example

Override NATS URL:

NATS_URL=nats://127.0.0.1:4222 go run ./component/cloudevent/example

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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