package
1.4.3
Repository: https://github.com/filefilego/filefilego.git
Documentation: pkg.go.dev

# Functions

NewAddressAPI creates a new address API to be served using JSONRPC.
NewBlockAPI creates a new block API to be served using JSONRPC.
NewChannelAPI creates a new channel API to be served using JSONRPC.
NewDataTransferAPI creates a new data transfer API to be served using JSONRPC.
NewFilefilegoAPI creates a new filefilego API to be served using JSONRPC.
NewStorageAPI creates a new storage API to be served using JSONRPC.
NewTransactionAPI creates a new transaction API to be served using JSONRPC.

# Constants

AddressServiceNamespace is the namespace for address service rpc.
BlockServiceNamespace is the namespace for block service rpc.
ChannelServiceNamespace is the namespace for channel service rpc.
DataTransferServiceNamespace is the namespace for data transfer service rpc.
FilefilegoServiceNamespace is the namespace for filefilego service rpc.
MediaCacheDirectory is the name of the cache directory.
StorageServiceNamespace is the namespace for storage service rpc.
TransactionServiceNamespace is the namespace for transaction service rpc.

# Structs

AddressAPI represents address service.
AuthorizedArgs arguments required for checking authorized token.
AuthorizedResponse is a result of the authorization request.
BalanceOfAddressArgs arguments required for balance of an address.
BalanceOfAddressResponse represents the balance response of an address.
BlockAPI represents the block rpc service.
ByAddressArgs get transactions by address arguments.
CancelFileDownloadsByContractHashArgs represent args.
CancelFileDownloadsByContractHashResponse represent response.
CancelUploadArgs args for canceling a file upload.
CancelUploadResponse is the response of a canceled upload.
ChannelAPI represents the channel rpc service.
CheckDataQueryResponse is a data query response payload.
CheckDataQueryResponseArgs is a data query response arg.
CreateContractsFromDataQueryResponseHashArgs represents args.
CreateContractsFromDataQueryResponsesResponse represents the response.
CreateNodeItemsTxDataPayloadArgs is a create channel node item request payload.
CreateNodeItemsTxDataPayloadResponse is a response which contains the transaction data payload for creating the channel node items.
CreateTransactionDataPayloadFromContractHashesArgs represent the function args.
CreateTransactionDataPayloadFromContractHashesResponse represent the function response.
DataQueryResponseJSON represents a json payload which represents a DataQueryResponse.
DataTransferAPI represents the data transfer rpc service which includes data query and verification protocols.
DeleteUploadedFilesArgs args for deleting file uploads.
DeleteUploadedFilesResponse is the response of the deletion.
DiscoverDownloadMediaFileRequestArgs request arguments.
DiscoverDownloadMediaFileRequestResponse is a response.
DownloadContractJSON is a download contract in JSON.
DownloadFileArgs represent args.
DownloadFileProgressArgs represent args.
DownloadFileProgressResponse represents the response of a download file progress.
DownloadFileArgs represents a response.
EmptyArgs.
ExportUploadedFilesArgs args for exporting file uploads.
ExportUploadedFilesResponse the response of uploads exporting.
FilefilegoAPI represents the filefilego rpc service.
FileMetadata represents a file metadata.
No description provided by the author
FilesFromEntryOrFolderArgs is a request.
FilesFromEntryOrFolderResponse is a response.
FileUploadProgresResult is the result of uploads.
FileUploadProgressArgs args for upload progress.
FileUploadProgressRequest represents a request.
FileUploadProgressResponse is the response of the progress.
FindProvidersArgs args for finding providers.
FindProvidersResponse the response of the finding storage providers mechanism.
GetByHashArgs represents the args of rpc request.
GetByNumberArgs represents the args of rpc request.
GetDiscoveredProvidersResponse is the response containing the discovered storage providers.
GetDownloadContractArgs represent the args.
GetDownloadContractResponse represents the response.
GetNodeItemArgs is a response.
GetNodeItemResponse is a response.
GetRemoteNodeCapabilitiesArgs args for remote storage node.
GetRemoteNodeCapabilitiesResponse the response of a remote storage node capabilities.
HostInfoResponse represents a response.
ImportUploadedFilesArgs args for restoring file uploads.
ImportUploadedFilesResponse the response of restoring.
JSONBlock represents the block response of rpc request.
JSONBlockTransaction represnts the block number and a transaction.
JSONStorageProvider is a json storage provider.
JSONTransaction represents a json transaction.
ListAddressesResponse is a key unlock response.
ListArgs is a list args.
ListResponse is a list response.
ListUploadedFilesArgs args for listing uploads.
ListUploadedFilesResponse the response listing uploads.
LockAddressArgs arguments required for locking a key.
LockAddressResponse is a key unlock response.
MemPoolResponse represents the mempool hashes.
MoveDirectDownloadsToDestinationArgs represents args.
RequestEncryptionDataFromVerifierResponse represents the response.
NodeItemJSON represents a node item json.
PauseFileDownloadArgs represent args.
PauseFileDownloadResponse represent response.
PoolResponse represents the block pool hashes.
RebroadcastDataQueryRequestArgs rebroadcasts a data query.
SendDataQueryRequestResponse is a data query hash response.
ReceiptArgs receipt arguments.
RequestContractTransactionVerificationArgs represent args for RequestContractTransactionVerification.
RequestContractTransactionVerificationResponse represent response of RequestContractTransactionVerification.
RequestEncryptionDataFromVerifierArgs represents args.
RequestEncryptionDataFromVerifierResponse represents the response.
SaveUploadedFileMetadataLocallyArgs args for saving uploaded metadata.
SaveUploadedFileMetadataLocallyResponse is the response of the saving file metadata operation.
SearchArgs is a search args.
SearchResponse is a response with the search results.
SendContractToFileHosterAndVerifierArgs represents the args.
SendContractToFileHosterAndVerifierResponse represents a response.
SendDataQueryRequestArgs is a data query request argument.
SendDataQueryRequestResponse is a data query hash response.
SendFileMerkleTreeNodesToVerifierArgs represents args.
SendFileMerkleTreeNodesToVerifierResponse represents a struct.
SendRawTransactionArgs is a raw transaction sent by clients.
SendTransactionArgs represents the arguments for sending a transaction using the client keystore mechanism.
StatsResponse represents a syncing status.
StorageAPI represents the storage rpc service.
TestSpeedWithRemotePeerArgs args for testing speed.
TestSpeedWithRemotePeerResponse the response of the speed test.
TransactionAPI represents the transaction rpc service.
TransactionResponse represents a response with a transaction.
TransactionsResponse represents a response with block and transaction.
UnlockAddressArgs arguments required for unlocking a key.
UnlockAddressResponse is a key unlock response.
UploadFileToProviderArgs args for uploading to a provider.
UploadFileToProviderRequest.
UploadFileToProviderResponse is the response of the uploaded file to provider.
VerifierHasEncryptionMetadataArgs represent args for VerifierHasEncryptionMetadataArgs.
VerifierHasEncryptionMetadataResponse represent response of VerifierHasEncryptionMetadataResponse.

# Interfaces

Blockchain defines the blockchain functionality needed for this rpc service,.
No description provided by the author
No description provided by the author
NetworkMessagePublisher is a pub sub message broadcaster.
PublisherNodesFinder is an interface that specifies finding nodes and publishing a message to the network functionalities.
No description provided by the author
No description provided by the author