custom-broker

command
v0.0.0-...-908d554 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

README

自定义Broker

本篇演示如何自定义Broker。

内容

  • server.go - 服务端
  • pub.go - 发布端

pub.go发布端负责发布两个主题消息go.micro.topic.custom1go.micro.topic.custom2

server.go发布端负责订阅两个主题消息go.micro.topic.custom1go.micro.topic.custom2

运行

运行服务端

go run server.go

运行发布端

go run pub.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL