MCPcopy Create free account
hub / github.com/tailscale/tailcat / Put

Method Put

tailcat.go:118–118  ·  view source on GitHub ↗

Put stores the DERP map response for url, replacing any prior entry and marking it stored as of now. An empty etag means the server sent none.

(url string, data []byte, etag string)

Source from the content-addressed store, hash-verified

116 // entry and marking it stored as of now. An empty etag means the
117 // server sent none.
118 Put(url string, data []byte, etag string) error
119}
120
121// derpMapCacheMaxAge is how old a cached DERP map may be and still be

Callers 1

fetchDERPMapFunction · 0.65

Implementers 2

memDERPMapCachetailcat.go
derpMapCachecmd/tailcat/tailcat.go

Calls

no outgoing calls

Tested by

no test coverage detected