Version: v0.5.1 Latest Latest

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

Go to latest
Published: Jul 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0


Simple CLI demo

This demonstrates how dynamic values are being updated in a simple CLI app.

Quick set up:

Download etcd, extract and make it available on your $PATH.

Launch etcd server serving from a in /tmp:

cd /tmp

Set up a set of flags:

etcdctl mkdir /example/flagz
etcdctl put /example/flagz/staticint 9090
etcdctl put /example/flagz/dynstring foo

Play around by launching the server and visitng http://localhost:8080:

./simplesrv &
etcdctl put /example/flagz/example_my_dynamic_string "I'm santient"
etcdctl put /example/flagz/example_my_dynamic_int 12345

Marvel at the flagz endpoint).


The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL