Documentation
¶
Index ¶
- type Service
- func (srv *Service) Copy(ctx context.Context, req *pb.CopyFileRequest) (*pb.CopyFileResponse, error)
- func (srv *Service) CreateRepo(ctx context.Context, req *pb.CreateRepoRequest) (*pb.CreateRepoResponse, error)
- func (srv *Service) DeleteRepo(ctx context.Context, req *pb.DeleteRepoRequest) (*pb.DeleteRepoResponse, error)
- func (srv *Service) Download(req *pb.DownloadFileRequest, stream pb.FileService_DownloadServer) error
- func (srv *Service) List(ctx context.Context, req *pb.ListFilesRequest) (*pb.ListFilesResponse, error)
- func (srv *Service) ListRepos(ctx context.Context, req *pb.ListReposRequest) (*pb.ListReposResponse, error)
- func (srv *Service) Mkdir(ctx context.Context, req *pb.MkdirFileRequest) (*pb.MkdirFileResponse, error)
- func (srv *Service) Move(ctx context.Context, req *pb.MoveFileRequest) (*pb.MoveFileResponse, error)
- func (srv *Service) Preview(req *pb.PreviewFileRequest, stream pb.FileService_PreviewServer) error
- func (srv *Service) Register(grpc *grpc.Server)
- func (srv *Service) RegisterGateway(ctx context.Context, mux *runtime.ServeMux, e *echo.Echo)
- func (srv *Service) Remove(ctx context.Context, req *pb.RemoveFileRequest) (*pb.RemoveFileResponse, error)
- func (srv *Service) Rename(ctx context.Context, req *pb.RenameFileRequest) (*pb.RenameFileResponse, error)
- func (srv *Service) TestRepo(ctx context.Context, req *pb.TestRepoRequest) (*pb.TestRepoResponse, error)
- func (srv *Service) UpdateRepo(ctx context.Context, req *pb.UpdateRepoRequest) (*pb.UpdateRepoResponse, error)
- func (srv *Service) Upload(stream pb.FileService_UploadServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { pb.UnimplementedFileServiceServer // contains filtered or unexported fields }
func (*Service) Copy ¶
func (srv *Service) Copy(ctx context.Context, req *pb.CopyFileRequest) (*pb.CopyFileResponse, error)
func (*Service) CreateRepo ¶
func (srv *Service) CreateRepo(ctx context.Context, req *pb.CreateRepoRequest) (*pb.CreateRepoResponse, error)
func (*Service) DeleteRepo ¶
func (srv *Service) DeleteRepo(ctx context.Context, req *pb.DeleteRepoRequest) (*pb.DeleteRepoResponse, error)
func (*Service) Download ¶
func (srv *Service) Download(req *pb.DownloadFileRequest, stream pb.FileService_DownloadServer) error
func (*Service) List ¶
func (srv *Service) List(ctx context.Context, req *pb.ListFilesRequest) (*pb.ListFilesResponse, error)
func (*Service) ListRepos ¶
func (srv *Service) ListRepos(ctx context.Context, req *pb.ListReposRequest) (*pb.ListReposResponse, error)
func (*Service) Mkdir ¶
func (srv *Service) Mkdir(ctx context.Context, req *pb.MkdirFileRequest) (*pb.MkdirFileResponse, error)
func (*Service) Move ¶
func (srv *Service) Move(ctx context.Context, req *pb.MoveFileRequest) (*pb.MoveFileResponse, error)
func (*Service) Preview ¶
func (srv *Service) Preview(req *pb.PreviewFileRequest, stream pb.FileService_PreviewServer) error
func (*Service) RegisterGateway ¶
func (*Service) Remove ¶
func (srv *Service) Remove(ctx context.Context, req *pb.RemoveFileRequest) (*pb.RemoveFileResponse, error)
func (*Service) Rename ¶
func (srv *Service) Rename(ctx context.Context, req *pb.RenameFileRequest) (*pb.RenameFileResponse, error)
func (*Service) TestRepo ¶
func (srv *Service) TestRepo(ctx context.Context, req *pb.TestRepoRequest) (*pb.TestRepoResponse, error)
func (*Service) UpdateRepo ¶
func (srv *Service) UpdateRepo(ctx context.Context, req *pb.UpdateRepoRequest) (*pb.UpdateRepoResponse, error)
Click to show internal directories.
Click to hide internal directories.