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.
Click to show internal directories.
Click to hide internal directories.