MCPcopy
hub / github.com/perkeep/perkeep / handlerLoader

Struct handlerLoader

pkg/serverinit/serverinit.go:72–80  ·  view source on GitHub ↗

handlerLoader implements blobserver.Loader.

Source from the content-addressed store, hash-verified

70
71// handlerLoader implements blobserver.Loader.
72type handlerLoader struct {
73 installer HandlerInstaller
74 baseURL string
75 config map[string]*handlerConfig // prefix -> config
76 handler map[string]interface{} // prefix -> http.Handler / func / blobserver.Storage
77 curPrefix string
78 closers []io.Closer
79 prefixStack []string
80}
81
82var _ blobserver.Loader = (*handlerLoader)(nil)
83

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected