From b06c7aa81f2d6439b3e518af385a50b5b0c5539c Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Fri, 18 Jan 2019 17:31:38 +0000 Subject: [PATCH] Delete unused --- README.md | 23 ----------------------- gossip.go | 12 ------------ 2 files changed, 35 deletions(-) delete mode 100644 README.md delete mode 100644 gossip.go diff --git a/README.md b/README.md deleted file mode 100644 index f81aa3a..0000000 --- a/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# Gossip Registry - -Gossip is a zero dependency registry which uses hashicorp/memberlist to broadcast registry information via the SWIM protocol. - -## Usage - -Start with the registry flag or env var - -```bash -MICRO_REGISTRY=gossip go run service.go -``` - -On startup you'll see something like - -```bash -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 - -```bash -MICRO_REGISTRY_ADDRESS= 192.168.1.65:56390 -``` diff --git a/gossip.go b/gossip.go deleted file mode 100644 index e2ba0e0..0000000 --- a/gossip.go +++ /dev/null @@ -1,12 +0,0 @@ -// Package Gossip provides a gossip registry based on hashicorp/memberlist -package gossip - -import ( - "github.com/micro/go-micro/registry" - "github.com/micro/go-micro/registry/gossip" -) - -// NewRegistry returns a new gossip registry -func NewRegistry(opts ...registry.Option) registry.Registry { - return gossip.NewRegistry(opts...) -}