Full MVC of gitlab-zoekt-indexer
All threads resolved!
All threads resolved!
Compare changes
Files
2- Dmitry Gruzd authored
+ 20
− 13
@@ -28,7 +28,6 @@ type options struct {
@@ -28,7 +28,6 @@ type options struct {
@@ -49,12 +48,19 @@ type indexRequest struct {
@@ -49,12 +48,19 @@ type indexRequest struct {
func (b defaultIndexBuilder) indexRepository(ctx context.Context, req indexRequest, indexDir string) error {
@@ -72,7 +78,7 @@ func (b defaultIndexBuilder) indexRepository(ctx context.Context, req indexReque
@@ -72,7 +78,7 @@ func (b defaultIndexBuilder) indexRepository(ctx context.Context, req indexReque
@@ -89,8 +95,8 @@ func (b defaultIndexBuilder) indexRepository(ctx context.Context, req indexReque
@@ -89,8 +95,8 @@ func (b defaultIndexBuilder) indexRepository(ctx context.Context, req indexReque
@@ -112,7 +118,7 @@ func (s *indexServer) handleStatus() http.HandlerFunc {
@@ -112,7 +118,7 @@ func (s *indexServer) handleStatus() http.HandlerFunc {
@@ -174,7 +180,7 @@ func (s *indexServer) handleIndex() http.HandlerFunc {
@@ -174,7 +180,7 @@ func (s *indexServer) handleIndex() http.HandlerFunc {
@@ -214,10 +220,10 @@ func (s *indexServer) handleTruncate() http.HandlerFunc {
@@ -214,10 +220,10 @@ func (s *indexServer) handleTruncate() http.HandlerFunc {
@@ -304,8 +310,9 @@ func main() {
@@ -304,8 +310,9 @@ func main() {