MCPcopy Index your code
hub / github.com/perkeep/perkeep / GetHandler

Method GetHandler

pkg/blobserver/registry.go:69–69  ·  view source on GitHub ↗

returns "" if unknown GetHandler returns either a Storage or an http.Handler. It forces the handler to be loaded and returns an error if a cycle is created.

(prefix string)

Source from the content-addressed store, hash-verified

67 // It forces the handler to be loaded and returns an error if
68 // a cycle is created.
69 GetHandler(prefix string) (interface{}, error)
70
71 // GetStorage is like GetHandler but requires that the Handler be
72 // a storage Handler.

Callers 5

newHandlerFromConfigFunction · 0.65
newFromConfigFunction · 0.65
newShareFromConfigFunction · 0.65
newRootFromConfigFunction · 0.65
uiFromConfigFunction · 0.65

Implementers 2

Loaderpkg/test/loader.go
handlerLoaderpkg/serverinit/serverinit.go

Calls

no outgoing calls

Tested by

no test coverage detected