mirror of
https://github.com/go-i2p/go-jump-addr.git
synced 2025-07-13 03:53:05 -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
|
||
|
}
|