server: add watchtower client

This commit is contained in:
Conner Fromknecht
2019-06-13 17:29:47 -07:00
parent fb8214b808
commit d2f3d5ef6c
3 changed files with 74 additions and 3 deletions

View File

@@ -29,6 +29,11 @@ const (
// DefaultStatInterval specifies the default interval between logging
// metrics about the client's operation.
DefaultStatInterval = 30 * time.Second
// DefaultForceQuitDelay specifies the default duration after which the
// client should abandon any pending updates or session negotiations
// before terminating.
DefaultForceQuitDelay = 10 * time.Second
)
// Client is the primary interface used by the daemon to control a client's