aboutsummaryrefslogtreecommitdiffstats
path: root/src/c_lhosts.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-02-01 20:20:20 +0100
committerJoe <rbo@gmx.us>2024-02-01 20:20:20 +0100
commitfde32d4a1a3d036ec720e4c9986afe7fece3de61 (patch)
treeabae75e9ab99377c83e1061015bed2aa03acc74f /src/c_lhosts.go
parentgo (diff)
downloadhardflip-fde32d4a1a3d036ec720e4c9986afe7fece3de61.tar.gz
hardflip-fde32d4a1a3d036ec720e4c9986afe7fece3de61.tar.bz2
hardflip-fde32d4a1a3d036ec720e4c9986afe7fece3de61.tar.xz
hardflip-fde32d4a1a3d036ec720e4c9986afe7fece3de61.tar.zst
hardflip-fde32d4a1a3d036ec720e4c9986afe7fece3de61.zip
better jump
Diffstat (limited to '')
-rw-r--r--src/c_lhosts.go14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/c_lhosts.go b/src/c_lhosts.go
index e0ad58c..529b7d5 100644
--- a/src/c_lhosts.go
+++ b/src/c_lhosts.go
@@ -51,6 +51,14 @@
package main
+type JumpSettings struct {
+ Host string `yaml:"host"`
+ Port uint16 `yaml:"port"`
+ User string `yaml:"user"`
+ Pass string `yaml:"pass"`
+ Priv string `yaml:"priv"`
+}
+
// 0: ssh
// 1: rdp
type HostNode struct {
@@ -61,11 +69,7 @@ type HostNode struct {
User string `yaml:"user"`
Pass string `yaml:"pass"`
Priv string `yaml:"priv"`
- Jump string `yaml:"jump"`
- JumpPort uint16 `yaml:"jump_port"`
- JumpUser string `yaml:"jump_user"`
- JumpPass string `yaml:"jump_pass"`
- JumpPriv string `yaml:"jump_priv"`
+ Jump JumpSettings `yaml:"jump"`
Quality uint8 `yaml:"quality"`
Domain string `yaml:"domain"`
Width uint16 `yaml:"width"`