aboutsummaryrefslogtreecommitdiffstats
path: root/c_lhosts.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-15 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-15 20:20:20 +0100
commitd92ded4595ec4282927eabafced33201529db098 (patch)
tree77ce749e3628bfa1194ab12f4bc0b09e3ccd64e2 /c_lhosts.go
parentgogo (diff)
downloadhardflip-d92ded4595ec4282927eabafced33201529db098.tar.gz
hardflip-d92ded4595ec4282927eabafced33201529db098.tar.bz2
hardflip-d92ded4595ec4282927eabafced33201529db098.tar.xz
hardflip-d92ded4595ec4282927eabafced33201529db098.tar.zst
hardflip-d92ded4595ec4282927eabafced33201529db098.zip
cool
Diffstat (limited to 'c_lhosts.go')
-rw-r--r--c_lhosts.go25
1 files changed, 13 insertions, 12 deletions
diff --git a/c_lhosts.go b/c_lhosts.go
index 67a2944..cbe1f71 100644
--- a/c_lhosts.go
+++ b/c_lhosts.go
@@ -39,7 +39,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* josh: src/c_lhosts.go
- * Fri, 15 Dec 2023 12:22:05 +0100
+ * Fri, 15 Dec 2023 17:26:58 +0100
* Joe
*
* the hosts linked list
@@ -50,17 +50,18 @@ 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"`
- Jump string `yaml:"jump"`
- Priv string `yaml:"priv"`
- Note string `yaml:"note"`
- Path string
+ 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"`
+ Jump string `yaml:"jump"`
+ Priv string `yaml:"priv"`
+ Note string `yaml:"note"`
+ Filename string
+ Folder string
next *HostNode
}