headscale/hscontrol/state
Kristoffer Dalby 4cca63155d all: apply godoc [Name] link conventions across comments
Every Go-identifier reference in // and /* */ comments now uses
godoc's [Name] linking syntax so pkg.go.dev and `go doc` render
them as clickable cross-references. No behaviour change.

Pattern applied across the tree:
  In-package         [Foo], [Foo.Bar]
  Cross-package      [pkg.Foo], [pkg.Foo.Bar]
  Stdlib             [netip.Prefix], [errors.Is], [context.Context]
  Tailscale          [tailcfg.MapResponse], [tailcfg.Node.CapMap],
                     [tailcfg.NodeAttrSuggestExitNode]

Skip rules:
  - File:line refs left as plain text
  - HuJSON wire keys inside backtick raw strings untouched
  - ACL/policy syntax tokens (tag:foo, autogroup:self, ...) not Go
    symbols, left as plain text
  - JSON/OIDC wire keys, gorm tags, RFC IPv6 placeholders, markdown
    link tags, decorative dividers — all left as-is
2026-05-19 09:55:22 +02:00
..
auth_cache_test.go state: replace zcache with bounded LRU for auth cache 2026-04-10 14:09:57 +01:00
debug.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
debug_test.go hscontrol/state: make NodeStore batch configuration tunable (#2886) 2025-11-28 16:38:29 +01:00
endpoint_test.go hscontrol/state: make NodeStore batch configuration tunable (#2886) 2025-11-28 16:38:29 +01:00
ephemeral_test.go all: upgrade to Go 1.26rc2 and modernize codebase 2026-02-08 12:35:23 +01:00
ha_health.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
maprequest.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
maprequest_test.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
node_store.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
node_store_hostname_test.go state: auto-bump GivenName on collision and add SetGivenName 2026-04-18 15:12:21 +01:00
node_store_test.go types: persist Node JSON slices via named IsZero types 2026-05-15 11:21:58 +02:00
persist_test.go state: add regression test for Node slice persistence 2026-05-15 11:21:58 +02:00
ping.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
ping_test.go state: drain pending pings on Close 2026-04-17 16:31:49 +01:00
primaries_property_test.go state, servertest: property-test HA election + invariant catalogue 2026-05-18 17:18:08 +02:00
primaries_test.go state, servertest: property-test HA election + invariant catalogue 2026-05-18 17:18:08 +02:00
ssh_check_test.go state, policy, noise: implement SSH check period auto-approval 2026-02-25 21:28:05 +01:00
state.go all: annotate complex functions with gocyclo rationale 2026-05-19 09:55:22 +02:00
tags.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00
test_helpers.go all: apply godoc [Name] link conventions across comments 2026-05-19 09:55:22 +02:00