删除一直未实现的Unix协议相关内容

This commit is contained in:
刘祥超
2024-04-14 17:15:38 +08:00
parent 8ba8528c98
commit e4861c3fa1
19 changed files with 1277 additions and 1534 deletions

View File

@@ -73,10 +73,6 @@ func (this *NetworkAddressConfig) Init() error {
// Addresses 所有的地址列表不包括scheme
func (this *NetworkAddressConfig) Addresses() []string {
if this.Protocol == ProtocolUnix {
return []string{this.Host}
}
result := []string{}
for i := this.MinPort; i <= this.MaxPort; i++ {
host := this.Host
@@ -87,10 +83,6 @@ func (this *NetworkAddressConfig) Addresses() []string {
// FullAddresses 所有的地址列表包含scheme
func (this *NetworkAddressConfig) FullAddresses() []string {
if this.Protocol == ProtocolUnix {
return []string{this.Protocol.String() + ":" + this.Host}
}
result := []string{}
for i := this.MinPort; i <= this.MaxPort; i++ {
host := this.Host