Documentation ¶
Index ¶
Constants ¶
View Source
const BinaryName = "zoekt-webserver"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchResponse ¶
type SearchResponse struct {
Result searchResponseResult `json:"result"`
}
func (*SearchResponse) FileNames ¶
func (h *SearchResponse) FileNames() []string
type WebserverHelper ¶
type WebserverHelper struct {
// contains filtered or unexported fields
}
func NewWebserverHelper ¶
func NewWebserverHelper(indexDir string, port int) *WebserverHelper
func (*WebserverHelper) Search ¶
func (h *WebserverHelper) Search(repoID uint32, term string) (SearchResponse, error)
func (*WebserverHelper) Start ¶
func (h *WebserverHelper) Start() (func(), error)
Click to show internal directories.
Click to hide internal directories.