types: remove dead types, constants, and methods

This commit is contained in:
Kristoffer Dalby
2026-06-15 06:22:22 +00:00
parent 84168fb90a
commit c8bd4a0947
7 changed files with 2 additions and 183 deletions
-4
View File
@@ -78,10 +78,6 @@ type (
NodeIDs []NodeID
)
func (n NodeIDs) Len() int { return len(n) }
func (n NodeIDs) Less(i, j int) bool { return n[i] < n[j] }
func (n NodeIDs) Swap(i, j int) { n[i], n[j] = n[j], n[i] }
func (id NodeID) StableID() tailcfg.StableNodeID {
return tailcfg.StableNodeID(strconv.FormatUint(uint64(id), util.Base10))
}