Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotEmptyFirstChunk = errors.New("first chunk is not empty")
Functions ¶
This section is empty.
Types ¶
type FileServerController ¶
type FileServerController interface { ListFiles(ctx context.Context, req *pb.ListFilesRequest) (*pb.ListFilesResponse, error) DownloadFile(req *pb.DownloadFileRequest, stream pb.FileService_DownloadFileServer) error UploadFile(stream pb.FileService_UploadFileServer) error RemoveFile(ctx context.Context, req *pb.RemoveFileRequest) (*pb.RemoveFileResponse, error) RegisterUser(ctx context.Context, req *pb.RegisterUserRequest) (*pb.RegisterUserResponse, error) }
func New ¶
func New(service service.FilesService) FileServerController
Click to show internal directories.
Click to hide internal directories.