dispense

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

func New

func New() *Service

func (*Service) BigFileDownload

func (s *Service) BigFileDownload(in *pb.DownloadInfo, stream pb.FileServerService_BigFileDownloadServer) error

func (*Service) ChunkUpload

func (s *Service) ChunkUpload(stream pb.FileServerService_ChunkUploadServer) error

func (*Service) Download

func (s *Service) Download(ctx context.Context, in *pb.DownloadInfo) (*pb.DownloadResponse, error)

func (*Service) OtherBigFileDownload

func (s *Service) OtherBigFileDownload(in *pb.DownloadInfo, nodeName string, stream pb.FileServerService_BigFileDownloadServer) error

func (*Service) OtherNodeDownload

func (s *Service) OtherNodeDownload(ctx context.Context, resp *pb.DownloadResponse, in *pb.DownloadInfo) (*pb.DownloadResponse, error)

func (*Service) SingleUpload

func (s *Service) SingleUpload(ctx context.Context, in *pb.UploadInfo) (ret *pb.UpLoadResponse, err error)

Jump to

Keyboard shortcuts

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