Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for msgUnPath (0.2 sec)

  1. internal/config/dns/etcd_dns.go

    				continue
    			}
    			srvRecords = append(srvRecords, record)
    		}
    	}
    	if len(srvRecords) == 0 {
    		return nil, ErrNoEntriesFound
    	}
    	return srvRecords, nil
    }
    
    // msgUnPath converts a etcd path to domainname.
    func msgUnPath(s string) string {
    	ks := strings.Split(strings.Trim(s, etcdPathSeparator), etcdPathSeparator)
    	for i, j := 0, len(ks)-1; i < j; i, j = i+1, j-1 {
    		ks[i], ks[j] = ks[j], ks[i]
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 8.3K bytes
    - Viewed (0)
Back to top