Innitial Commit
+added Base Project Version 0.0.1
This commit is contained in:
28
internal/models/server.go
Normal file
28
internal/models/server.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user