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

36 lines
631 B
Go

//go:build !solution
// +build !solution
package worker
import (
"context"
"net/http"
"go.uber.org/zap"
"gitlab.com/slon/shad-go/distbuild/pkg/api"
"gitlab.com/slon/shad-go/distbuild/pkg/artifact"
"gitlab.com/slon/shad-go/distbuild/pkg/filecache"
)
type Worker struct {
}
func New(
workerID api.WorkerID,
coordinatorEndpoint string,
log *zap.Logger,
fileCache *filecache.Cache,
artifacts *artifact.Cache,
) *Worker {
panic("implement me")
}
func (w *Worker) ServeHTTP(rw http.ResponseWriter, r *http.Request) {
panic("implement me")
}
func (w *Worker) Run(ctx context.Context) error {
panic("implement me")
}