Documentation
¶
Overview ¶
Package natsjsregistry implements a registry using natsjs kv store
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTTL ¶
DefaultTTL allows setting a default register TTL for services
func NewRegistry ¶
NewRegistry returns a new natsjs registry
Types ¶
type NatsWatcher ¶
type NatsWatcher interface {
WatchAll(bucket string, opts ...nats.WatchOpt) (<-chan *natsjskv.StoreUpdate, func() error, error)
}
NatsWatcher is the watcher of the nats interface
Click to show internal directories.
Click to hide internal directories.