MCPcopy
hub / github.com/1Panel-dev/KubePi / Delete

Method Delete

thirdparty/gotty/cache/token/mem.go:37–40  ·  view source on GitHub ↗

Delete token from memory

(token string)

Source from the content-addressed store, hash-verified

35
36//Delete token from memory
37func (r *MemCache) Delete(token string) error {
38 r.cache.Delete(token)
39 return nil
40}
41
42//Add token to memory
43func (r *MemCache) Add(token string, param *TtyParameter, d time.Duration) error {

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected