Registry / messaging / acorn-io-baaah

acorn-io-baaah

JSON →
library0.0.0-20241031014532-41ccf5acc58bgogounverified

Package baaah provides a simple event bus for Go applications.

messagingutility
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

github.com/acorn-io/baaah

Creates an event bus, subscribes to an event, and publishes a message.

package main import ( "fmt" "github.com/acorn-io/baaah" ) func main() { bus := baaah.New() bus.Subscribe("event", func(data interface{}) { fmt.Println(data) }) bus.Publish("event", "hello") }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
24 hits · last 30 days
gptbot
3
amazonbot
3
bytedance
3
claudebot
3
Resources