MCPcopy
hub / github.com/perkeep/perkeep / Handler

Struct Handler

pkg/search/handler.go:66–82  ·  view source on GitHub ↗

Handler handles search queries.

Source from the content-addressed store, hash-verified

64
65// Handler handles search queries.
66type Handler struct {
67 index index.Interface
68 owner *index.Owner
69 // optional for search aliases
70 fetcher blob.Fetcher
71
72 // Corpus optionally specifies the full in-memory metadata corpus
73 // to use.
74 // TODO: this may be required in the future, or folded into the index
75 // interface.
76 corpus *index.Corpus
77
78 lh *index.LocationHelper
79
80 // WebSocket hub
81 wsHub *wsHub
82}
83
84// GetRecentPermanoder is the interface containing the GetRecentPermanodes method.
85type GetRecentPermanoder interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected