Innitial Commit

+added Base Project Version 0.0.1
This commit is contained in:
2026-05-03 01:13:59 +02:00
commit 321f4a5bad
8 changed files with 745 additions and 0 deletions

28
internal/models/server.go Normal file
View File

@@ -0,0 +1,28 @@
package models
type TerminalSettings struct {
Term string `yaml:"term"`
EnableKittyFix bool `yaml:"enable_kitty_fix"`
}
type Settings struct {
Theme string `yaml:"theme"`
Terminal TerminalSettings `yaml:"terminal"`
}
type Server struct {
Name string `yaml:"name"`
Host string `yaml:"host"`
User string `yaml:"user"`
Port int `yaml:"port"`
Group string `yaml:"group"`
Auth string `yaml:"auth"`
Key string `yaml:"key"`
PasswordID string `yaml:"password_id"`
KittyFix bool `yaml:"kitty_fix"`
}
type AppConfig struct {
Settings Settings `yaml:"settings"`
Servers []Server `yaml:"servers"`
}