diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2025-02-27 12:33:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-27 12:33:31 -0800 |
| commit | 3d28aa19cbf70a0b0e72d2ce37e83bd7e73a346c (patch) | |
| tree | 3e90f063b7518b9744ad743401dd473fbaf8c478 /control/controlhttp/controlhttpserver/controlhttpserver.go | |
| parent | f5522e62d1dde2ea966f2454df248a8ea2d43676 (diff) | |
| download | tailscale-3d28aa19cbf70a0b0e72d2ce37e83bd7e73a346c.tar.xz tailscale-3d28aa19cbf70a0b0e72d2ce37e83bd7e73a346c.zip | |
all: statically enforce json/v2 interface satisfaction (#15154)
The json/v2 prototype is still in flux and the API can/will change.
Statically enforce that types implementing the v2 methods
satisfy the correct interface so that changes to the signature
can be statically detected by the compiler.
Updates tailscale/corp#791
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions
