summaryrefslogtreecommitdiff
path: root/clients/args.go
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2020-01-20 18:41:05 +0000
committerPaul Bütow <pbuetow@mimecast.com>2020-01-21 14:35:23 +0000
commitc128865c4c7411c29a59fca9a3a2f95537686d7b (patch)
tree193bccc70d942c8b70cc93fae2670263701e43aa /clients/args.go
parent3755a9911ecb05886577095f2b8cc8b9e4066a3a (diff)
Move commands to cmd/ and move internal dependencies to internal/
Diffstat (limited to 'clients/args.go')
-rw-r--r--clients/args.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/clients/args.go b/clients/args.go
deleted file mode 100644
index 4d5a029..0000000
--- a/clients/args.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package clients
-
-import (
- "dtail/omode"
-)
-
-// Args is a helper struct to summarize common client arguments.
-type Args struct {
- // The operating mode (tail, grep, ...)
- Mode omode.Mode
- // The raw server string
- ServersStr string
- // SSH user name (e.g. 'pbuetow')
- UserName string
- // The files to follow.
- Files string
- // Regex for filtering.
- Regex string
- // Trust all unknown host keys?
- TrustAllHosts bool
- // Server discovery method
- Discovery string
- MaxInitConnections int
- // Server ping timeout (0 means pings disabled)
- PingTimeout int
-}