feat: add global proxy config upgrade: upgrade front(angular) to 19 chore: deployment staff 1. Dockerfile: build frontend, backend, and run in nginx base image
16 lines
411 B
Go
16 lines
411 B
Go
package interfaces
|
|
|
|
import (
|
|
"context"
|
|
"io"
|
|
|
|
"nf-repo/internal/model"
|
|
"nf-repo/internal/tool/rerr"
|
|
)
|
|
|
|
type UploadHandler interface {
|
|
UploadId() string
|
|
Write(ctx context.Context, id string, reader io.ReadCloser, start, end int) (int, *rerr.RepositoryError)
|
|
Done(ctx context.Context, bh BlobHandler, id string, closer io.ReadCloser, contentLength int, repo string, hash model.Hash) *rerr.RepositoryError
|
|
}
|