etcd-lease-watcher

command module
v0.0.0-...-97735e8 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

README

ETCD Lease Watcher

A Basic example on how to use the golang etcd clientv3 to:

  • Watch for deleted keys
  • Find out if it was deleted because of a lease expiry
  • Get the value of the key that was just deleted
  • Starts a local etcd server from code
  • Run all of this in a unit test

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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