controller

package
v0.0.0-...-028896a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 9 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL