Go to file
2021-03-28 16:41:44 +00:00
.github drop old proto 2021-03-22 10:34:07 +03:00
proto drop old proto 2021-03-22 10:34:07 +03:00
.synced update for latest micro 2021-01-30 00:30:51 +03:00
generate.go drop old proto 2021-03-22 10:34:07 +03:00
go.mod fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.7 2021-03-28 16:41:44 +00:00
go.sum fix(deps): update module github.com/unistack-org/micro/v3 to v3.3.7 2021-03-28 16:41:44 +00:00
gossip_test.go ugly tests fix 2021-02-18 23:58:40 +03:00
gossip.go drop old proto 2021-03-22 10:34:07 +03:00
LICENSE update for latest micro 2021-01-30 00:30:51 +03:00
options.go update for latest micro 2021-01-30 00:30:51 +03:00
README.md Add gossip registry 2021-01-29 23:24:24 +03:00
watcher.go update for latest micro 2021-01-30 00:30:51 +03:00

Gossip Registry

Gossip is a zero dependency registry which uses github.com/hashicorp/memberlist to broadcast registry information via the SWIM protocol.

Usage

Start with the registry flag or env var

MICRO_REGISTRY=gossip go run service.go

On startup you'll see something like

2018/12/06 18:17:48 Registry Listening on 192.168.1.65:56390

To join this gossip ring set the registry address using flag or env var

MICRO_REGISTRY_ADDRESS=192.168.1.65:56390