package
0.1.3
Repository: https://github.com/dreamniu/dragonfly-api.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

No description provided by the author
No description provided by the author

# Variables

Dfdaemon_ServiceDesc is the grpc.ServiceDesc for Dfdaemon service.
No description provided by the author

# Structs

DeleteTaskRequest represents request of DeleteTask.
DeleteTaskRequestValidationError is the validation error returned by DeleteTaskRequest.Validate if the designated constraints aren't met.
DownloadTaskRequest represents request of DownloadTask.
DownloadTaskRequestValidationError is the validation error returned by DownloadTaskRequest.Validate if the designated constraints aren't met.
InterestedAllPiecesRequest represents interested all pieces request of SyncPiecesRequest.
InterestedAllPiecesRequestValidationError is the validation error returned by InterestedAllPiecesRequest.Validate if the designated constraints aren't met.
InterestedPiecesRequest represents interested pieces request of SyncPiecesRequest.
InterestedPiecesRequestValidationError is the validation error returned by InterestedPiecesRequest.Validate if the designated constraints aren't met.
InterestedPiecesResponse represents interested pieces response of SyncPiecesResponse.
InterestedPiecesResponseValidationError is the validation error returned by InterestedPiecesResponse.Validate if the designated constraints aren't met.
StatTaskRequest represents request of StatTask.
StatTaskRequestValidationError is the validation error returned by StatTaskRequest.Validate if the designated constraints aren't met.
StatTaskResponse represents response of StatTask.
StatTaskResponseValidationError is the validation error returned by StatTaskResponse.Validate if the designated constraints aren't met.
SyncPiecesRequest represents request of AnnouncePeer.
No description provided by the author
No description provided by the author
SyncPiecesRequestValidationError is the validation error returned by SyncPiecesRequest.Validate if the designated constraints aren't met.
SyncPiecesResponse represents response of SyncPieces.
No description provided by the author
SyncPiecesResponseValidationError is the validation error returned by SyncPiecesResponse.Validate if the designated constraints aren't met.
UnimplementedDfdaemonServer should be embedded to have forward compatible implementations.
UploadTaskRequest represents request of UploadTask.
UploadTaskRequestValidationError is the validation error returned by UploadTaskRequest.Validate if the designated constraints aren't met.

# Interfaces

No description provided by the author
No description provided by the author
DfdaemonClient is the client API for Dfdaemon service.
DfdaemonServer is the server API for Dfdaemon service.
UnsafeDfdaemonServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

DeleteTaskRequestMultiError is an error wrapping multiple validation errors returned by DeleteTaskRequest.ValidateAll() if the designated constraints aren't met.
DownloadTaskRequestMultiError is an error wrapping multiple validation errors returned by DownloadTaskRequest.ValidateAll() if the designated constraints aren't met.
InterestedAllPiecesRequestMultiError is an error wrapping multiple validation errors returned by InterestedAllPiecesRequest.ValidateAll() if the designated constraints aren't met.
InterestedPiecesRequestMultiError is an error wrapping multiple validation errors returned by InterestedPiecesRequest.ValidateAll() if the designated constraints aren't met.
InterestedPiecesResponseMultiError is an error wrapping multiple validation errors returned by InterestedPiecesResponse.ValidateAll() if the designated constraints aren't met.
StatTaskRequestMultiError is an error wrapping multiple validation errors returned by StatTaskRequest.ValidateAll() if the designated constraints aren't met.
StatTaskResponseMultiError is an error wrapping multiple validation errors returned by StatTaskResponse.ValidateAll() if the designated constraints aren't met.
SyncPiecesRequestMultiError is an error wrapping multiple validation errors returned by SyncPiecesRequest.ValidateAll() if the designated constraints aren't met.
SyncPiecesResponseMultiError is an error wrapping multiple validation errors returned by SyncPiecesResponse.ValidateAll() if the designated constraints aren't met.
UploadTaskRequestMultiError is an error wrapping multiple validation errors returned by UploadTaskRequest.ValidateAll() if the designated constraints aren't met.