🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github.com/amauryeuzebio/goexpert/M10-Eventos

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/amauryeuzebio/goexpert/M10-Eventos

v0.0.0-20230409232241-92697ef82bea
Source
Go
Version published
Created
Source

Instruções

  • Subir um container do rabbitMQ (docker-composer up -d)
  • Entrar no rabbit http://localhost:15672/ e criar uma fila e fazer o bind com a exchange amq.direct.
  • Executar o consumer (go run cmd/consumer/main.go)
  • Executar o producer (go run cmd/producer/main.go)

Esse exemplo o producer vai enviar uma mensagem "Hello World!" e o consumer vai dar um print em tela

FAQs

Package last updated on 09 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts