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

Interface Cache

thirdparty/gotty/cache/token/cache.go:12–16  ·  view source on GitHub ↗

interface that defines token cache behavior

Source from the content-addressed store, hash-verified

10
11//interface that defines token cache behavior
12type Cache interface {
13 Get(token string) *TtyParameter
14 Delete(token string) error
15 Add(token string, param *TtyParameter, d time.Duration) error
16}

Callers 17

RunMigrateFunction · 0.65
GetMethod · 0.65
GetMethod · 0.65
NewFunction · 0.65
wrapBasicAuthMethod · 0.65
processWSConnMethod · 0.65
logHandlerFunction · 0.65
WaitForLoggingStreamFunction · 0.65
DeleteMethod · 0.65
AddMethod · 0.65
TestWriteFromPTYFunction · 0.65
TestWriteFromConnFunction · 0.65

Implementers 2

RedisCachethirdparty/gotty/cache/token/redis.go
MemCachethirdparty/gotty/cache/token/mem.go

Calls

no outgoing calls

Tested by

no test coverage detected