 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package nats provides a NATS registry using broadcast queries
Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var (
	DefaultQuorum = 0
)
    Functions ¶
func Options ¶ added in v0.7.0
Options allow to inject a nats.Options struct for configuring the nats connection
func QueryTopic ¶
QueryTopic allows to set a custom nats topic on which service registries query (survey) other services. All registries listen on this topic and then respond to the query message.
func WatchTopic ¶
WatchTopic allows to set a custom nats topic on which registries broadcast changes (e.g. when services are added, updated or removed). Since we don't have a central registry service, each service typically broadcasts in a determined frequency on this topic.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.