Giter Site home page Giter Site logo

rabbitmq-tutorial's Introduction

rabbitmq-tutorial

RabbitMQ实战指南 是一本很适合初学者的书籍,该书对 RabbitMQ 中的许多概念讲解十分透彻。由于书中的示例代码较少(一些例子较为简单,放到书中也不合适),且例子都是通过 Java 语言编写。为了方便 Go 语言开发者使用 RabbbitMQ,把书中的例子用 Go 语言实现一遍,同时为第三章以及第四章补充了一些例子。

安装

为了尽快上手开发,我们可以使用 docker-compose。

# 安装驱动
go get github.com/streadway/amqp 
# 准备 volumn
mkdir -p ~/docker-data/rabbitmq

docker-compose up

# 浏览器打开 localhost:15672
# 用户名 guest 密码 guest
# 通过管理后台添加用户 root,设置密码为 root123,设置权限

开发

go build 构建完成后,直接运行即可。

rabbitmq-tutorial's People

Contributors

ziyoung avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.