(c *index.Corpus)
| 130 | } |
| 131 | |
| 132 | func (h *Handler) SetCorpus(c *index.Corpus) { |
| 133 | h.corpus = c |
| 134 | h.lh.SetCorpus(c) |
| 135 | } |
| 136 | |
| 137 | // SendStatusUpdate sends a JSON status map to any connected WebSocket clients. |
| 138 | func (h *Handler) SendStatusUpdate(status json.RawMessage) { |
no outgoing calls