Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete( p2p *dep2p.DeP2P, pubsub *pubsub.DeP2PPubSub, db *sqlites.SqliteDB, fileID string, ownerPriv *ecdsa.PrivateKey, ) error
Delete 删除文件
func HandleFileDeleteRequestPubSub ¶
func HandleFileDeleteRequestPubSub(p2p *dep2p.DeP2P, pubsub *pubsub.DeP2PPubSub, res *streams.RequestMessage)
HandleFileDownloadResponsePubSub 处理文件删除响应的订阅消息
Types ¶
type FileDeleteRequestPayload ¶
文件删除请求
Click to show internal directories.
Click to hide internal directories.