aboutsummaryrefslogtreecommitdiffstats
path: root/c_lhosts.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
commitfbe50ac4c3ed53f55bfdafaf793eab5efc30d5d3 (patch)
tree884f04c0ca73a2f165a0264bf5062b433ccf7a1a /c_lhosts.go
parentgood (diff)
downloadhardflip-fbe50ac4c3ed53f55bfdafaf793eab5efc30d5d3.tar.gz
hardflip-fbe50ac4c3ed53f55bfdafaf793eab5efc30d5d3.tar.bz2
hardflip-fbe50ac4c3ed53f55bfdafaf793eab5efc30d5d3.tar.xz
hardflip-fbe50ac4c3ed53f55bfdafaf793eab5efc30d5d3.tar.zst
hardflip-fbe50ac4c3ed53f55bfdafaf793eab5efc30d5d3.zip
fine for now
Diffstat (limited to '')
-rw-r--r--c_lhosts.go36
1 files changed, 18 insertions, 18 deletions
diff --git a/c_lhosts.go b/c_lhosts.go
index 6482ede..8486004 100644
--- a/c_lhosts.go
+++ b/c_lhosts.go
@@ -50,28 +50,28 @@ package main
// 0: ssh
// 1: rdp
type HostNode struct {
- ID uint64
- Type int8 `yaml:"type"`
- Name string `yaml:"name"`
- Host string `yaml:"host"`
- Port uint16 `yaml:"port"`
- User string `yaml:"user"`
- Pass string `yaml:"pass"`
- Priv string `yaml:"priv"`
- Jump string `yaml:"jump"`
+ ID uint64
+ Protocol int8 `yaml:"type"`
+ Name string `yaml:"name"`
+ Host string `yaml:"host"`
+ Port uint16 `yaml:"port"`
+ 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"`
- Quality uint8 `yaml:"quality"`
- Domain string `yaml:"domain"`
- Width uint16 `yaml:"width"`
- Height uint16 `yaml:"height"`
- Dynamic bool `yaml:"dynamic"`
- Note string `yaml:"note"`
- Filename string
- Dir *DirsNode
- next *HostNode
+ Quality uint8 `yaml:"quality"`
+ Domain string `yaml:"domain"`
+ Width uint16 `yaml:"width"`
+ Height uint16 `yaml:"height"`
+ Dynamic bool `yaml:"dynamic"`
+ Note string `yaml:"note"`
+ Filename string
+ Dir *DirsNode
+ next *HostNode
}
type HostList struct {