nats

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2017 License: Apache-2.0 Imports: 9 Imported by: 36

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.

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

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