shad-go/distbuild/pkg/worker/worker.go
2022-03-15 23:49:56 +03:00

35 lines
611 B
Go

//go: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")
}