mirror of
https://github.com/go-i2p/go-jump-addr.git
synced 2025-06-17 12:28:14 -04:00
10 lines
189 B
Go
10 lines
189 B
Go
package jumpserver
|
|
|
|
func (j *JumpServer) HostsFile() string {
|
|
var hosts string
|
|
for _, host := range j.Hostnames {
|
|
hosts += host.Hostname + "=" + host.Base64() + "\n"
|
|
}
|
|
return hosts
|
|
}
|