shad-go/distbuild/pkg/dist/coordinator.go
2022-02-10 22:06:57 +00:00

33 lines
568 B
Go

//go:build !solution
// +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")
}