github.com/chyroc/anb@v0.3.0/internal/config/server.go (about)

     1  package config
     2  
     3  func (r *ConfigServer) ServerHost() string {
     4  	return r.User + "@" + r.Host
     5  }
     6  
     7  type ConfigServer struct {
     8  	User              string `yaml:"user"`
     9  	Host              string `yaml:"host"`
    10  	SSHPrivateKeyPath string `yaml:"ssh_private_key_path"`
    11  }