p2papi

package
v0.0.0-...-71850de Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package p2papi contains the API code for the p2p communication.

Package p2papi contains the API code for the p2p communication.

Package p2papi contains the API code for the p2p communication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataRetrievalHandler

func DataRetrievalHandler(reader fcrserver.FCRServerRequestReader, writer fcrserver.FCRServerResponseWriter, request *fcrmessages.FCRReqMsg) error

DataRetrievalHandler handles data retrieval request.

func EstablishmentHandler

func EstablishmentHandler(reader fcrserver.FCRServerRequestReader, writer fcrserver.FCRServerResponseWriter, request *fcrmessages.FCRReqMsg) error

EstablishmentHandler handles dht offer establishment.

func OfferPublishRequester

func OfferPublishRequester(reader fcrserver.FCRServerResponseReader, writer fcrserver.FCRServerRequestWriter, args ...interface{}) (*fcrmessages.FCRACKMsg, error)

OfferPublishRequester sends an offer publish request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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