MCPcopy Create free account
hub / github.com/ericls/imgdd / Get

Method Get

httpserver/persister/interface.go:15–15  ·  view source on GitHub ↗
(r *http.Request, key string)

Source from the content-addressed store, hash-verified

13type Persister interface {
14 Set(w http.ResponseWriter, r *http.Request, key string, value string) error
15 Get(r *http.Request, key string) (string, error)
16 Delete(w http.ResponseWriter, r *http.Request, key string) error
17 Clear(w http.ResponseWriter, r *http.Request) error
18 Rotate(w http.ResponseWriter, r *http.Request) error

Callers 15

FromJSONConfigMethod · 0.65
FromJSONConfigMethod · 0.65
FromJSONConfigMethod · 0.65
GetMetaCachedFunction · 0.65
MakeHttpMiddlewareFunction · 0.65
getMethod · 0.65
putMethod · 0.65
writeCachedImageResponseFunction · 0.65
makeImageCORSMiddlewareFunction · 0.65
makeImageHandlerFunction · 0.65
makeDirectImageHandlerFunction · 0.65

Implementers 1

SessionPersisterhttpserver/persister/session_persister

Calls

no outgoing calls

Tested by 4

TestLoginLogoutFunction · 0.52
TestSessionFunction · 0.52
TestSessionWithoutCookieFunction · 0.52