Registry / messaging / ontio-ontology-eventbus

ontio-ontology-eventbus

JSON →
library0.9.2gogounverified

Event bus library for the Ontology blockchain.

go get github.com/ontio/ontology-eventbus
INSTALL
IMPORT
SIG · ONTIO-ONTOLOGY-EVE
O
ontio-ontology-eventbus
messaginggov0.9.2
harness data pending
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.

eventbus
github.com/ontio/ontology-eventbus

Publish and subscribe to events

package main import ( "fmt" "github.com/ontio/ontology-eventbus" ) func main() { eb := eventbus.NewEventBus() eb.Subscribe("topic", func(msg interface{}) { fmt.Println(msg) }) eb.Publish("topic", "hello") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Amazon
1
OpenAI (training)
1
Resources
ontio-ontology-eventbus — go get ontio-ontology-eventbus · libregistry