shad-go/distbuild/pkg/dist/coordinator.go
2020-04-05 16:24:48 +03:00

32 lines
547 B
Go

// +build !solution
package dist
import (
"net/http"
"time"
"go.uber.org/zap"
"gitlab.com/slon/shad-go/distbuild/pkg/filecache"
"gitlab.com/slon/shad-go/distbuild/pkg/scheduler"
)
type Coordinator struct {
}
var defaultConfig = scheduler.Config{
CacheTimeout: time.Millisecond * 10,
DepsTimeout: time.Millisecond * 100,
}
func NewCoordinator(
log *zap.Logger,
fileCache *filecache.Cache,
) *Coordinator {
panic("implement me")
}
func (c *Coordinator) ServeHTTP(w http.ResponseWriter, r *http.Request) {
panic("implement me")
}