Skip to content

nixihz/gobus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gobus 🚧

The project is under development, please wait.

Usage

	demoUpdated := demo.NewUpdatedEvent("8002", "Order Updated")

	// local adapter
	publisher := gobus.GetEventPublisher(impl.NewLocalAdapter())
	publisher.PublishEvent(gobus.Event(demoUpdated))

	// rabbitmq adapter
	amqpURI := "amqp://username:password@host:port/"
	publisher2 := gobus.GetEventPublisher(impl.NewRabbitMqAdapter(amqpURI))
	publisher2.PublishEvent(gobus.Event(demoUpdated))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages