nats

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package nats provides a NATS registry using broadcast queries

Index

Constants

This section is empty.

Variables

View Source
var (
	QueryTopic = "micro.registry.nats.query"
	WatchTopic = "micro.registry.nats.watch"

	DefaultTimeout = time.Millisecond * 100
)
View Source
var DefaultQuorum = 0

Functions

func NewRegistry

func NewRegistry(opts ...registry.Option) registry.Registry

func Quorum

func Quorum(n int) registry.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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