xddxdd / bird-lg-go

BIRD looking glass in Go, for better maintainability, easier deployment & smaller memory footprint
GNU General Public License v3.0
141 stars 27 forks source link

Allow specifying display names for servers #17

Closed towalink closed 3 years ago

towalink commented 3 years ago

Allow specifying display names for servers. This addresses your comment from the previous pull request ("better representations on the UI").

The syntax follows what's known from email addresses (use of angle brackets).

Examples: ./frontend --servers="Gigs\<gigsgigscloud>,Hostdare\<hostdare>" --domain=dn42.lantian.pub ./frontend --servers="Prod\<prod.mydomain.local>,Test1\<fd88:dead:beef::1>,Test2\<fe80::c%wg0>" --domain=

Especially useful when servers are specified by IP addresses. But also to provide nicknames, etc.

Description of changes in the pull request:

xddxdd commented 3 years ago

Thanks for your PR! Will merge this.