aboutsummaryrefslogtreecommitdiffstats
path: root/c_josh.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-14 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-14 20:20:20 +0100
commit34921eae2dac9f320c446c81991d2e3fe538923c (patch)
tree9a3f049fa0fe7aacbcd847967011ea36cd6ae397 /c_josh.go
parentdates (diff)
downloadhardflip-34921eae2dac9f320c446c81991d2e3fe538923c.tar.gz
hardflip-34921eae2dac9f320c446c81991d2e3fe538923c.tar.bz2
hardflip-34921eae2dac9f320c446c81991d2e3fe538923c.tar.xz
hardflip-34921eae2dac9f320c446c81991d2e3fe538923c.tar.zst
hardflip-34921eae2dac9f320c446c81991d2e3fe538923c.zip
up
Diffstat (limited to '')
-rw-r--r--c_josh.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/c_josh.go b/c_josh.go
index bb82f2b..838faf2 100644
--- a/c_josh.go
+++ b/c_josh.go
@@ -50,6 +50,16 @@ package main
import (
)
+// 0: ssh
+// 1: rdp
+type host struct {
+ ID int64
+ Type int8 `yaml:"type"`
+ Host string `yaml:"host"`
+ Port uint16 `yaml:"port"`
+ User string `yaml:"user"`
+}
+
func main() {
var data_dir string