Documentation ¶
Index ¶
Constants ¶
View Source
const ( SERVER_MODE_LOCAL = "local" SERVER_MODE_NG = "ng" )
View Source
const (
SSH_CONFIG_TYPE_PASSWORD = "password"
)
Variables ¶
This section is empty.
Functions ¶
func GetSshConfigs ¶
func UpdateConfig ¶
func UpdateConfig() error
Types ¶
type Server ¶
type Server struct { Address string Port int Token string Mode string Username string Password string }
func (*Server) GetFullAddress ¶
type SshConfig ¶
type SshConfig struct { Name string `json:"name" yaml:"name" mapstructure:"name"` Host string `json:"host" yaml:"host" mapstructure:"host"` Port uint `json:"port" yaml:"port" mapstructure:"port"` Username string `json:"username" yaml:"username" mapstructure:"username"` Password string `json:"password" yaml:"password" mapstructure:"password"` Type string `json:"type" yaml:"type" mapstructure:"type"` }
Click to show internal directories.
Click to hide internal directories.