MCPcopy Create free account
hub / github.com/dearcode/candy / DownloadFile

Method DownloadFile

meta/gate.pb.go:604–604  ·  view source on GitHub ↗

DownloadFile 客户端下载文件,传入ID,返回具体文件内容.

(ctx context.Context, in *GateDownloadFileRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

602 CheckFile(ctx context.Context, in *GateCheckFileRequest, opts ...grpc.CallOption) (*GateCheckFileResponse, error)
603 // DownloadFile 客户端下载文件,传入ID,返回具体文件内容.
604 DownloadFile(ctx context.Context, in *GateDownloadFileRequest, opts ...grpc.CallOption) (*GateDownloadFileResponse, error)
605 // ID 参照消息ID,每次可逆序(旧消息)或正序(新消息)接收100条
606 // 如果ID为0,就逆序返回旧的100条消息
607 LoadMessage(ctx context.Context, in *GateLoadMessageRequest, opts ...grpc.CallOption) (*GateLoadMessageResponse, error)

Callers 3

FileDownloadMethod · 0.65
downloadFileMethod · 0.65

Implementers 2

gateClientmeta/gate.pb.go
Gategate/server.go

Calls

no outgoing calls

Tested by

no test coverage detected