Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ks (0.25 sec)

  1. internal/config/dns/etcd_dns.go

    	}
    	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]
    	}
    	return strings.Join(ks, ".")
    }
    
    // Retrieves list of entries under the key passed.
    // Note that this method fetches entries upto only two levels deep.
    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