1
0
mirror of https://github.com/golang/go synced 2024-09-30 22:58:34 -06:00
go/internal/lsp/lsprpc
Ian Cottrell 540150da73 internal/telemetry: add type safe tag keys
This changes the way keys work, there is still a single internal key
implementation for performance reasons, but the public interface is a set of key
implementations that have type safe Of and Get methods.
This also hides the implemenation of Tag so that we can modify the storage form
and find a more efficient storage if needed.

Change-Id: I6a39cc75c2824c6a92e52d59f16e82e876f16e9c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/223137
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2020-03-18 13:29:43 +00:00
..
autostart_default.go internal/lsp/lsprpc: don't connect to sockets owned by different users 2020-03-09 18:08:59 +00:00
autostart_posix.go internal/lsp/lsprpc: don't connect to sockets owned by different users 2020-03-09 18:08:59 +00:00
lsprpc_test.go internal/lsp/lsprpc: expose configuration for auto-started daemon 2020-03-12 19:43:16 +00:00
lsprpc.go internal/lsp/lsprpc: expose configuration for auto-started daemon 2020-03-12 19:43:16 +00:00
telemetry.go internal/telemetry: add type safe tag keys 2020-03-18 13:29:43 +00:00