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

Method Add

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

Add token to memory

(token string, param *TtyParameter, d time.Duration)

Source from the content-addressed store, hash-verified

41
42//Add token to memory
43func (r *MemCache) Add(token string, param *TtyParameter, d time.Duration) error {
44 return r.cache.Add(token, *param, d)
45}

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected