p2papi

package
v0.0.0-...-7a4b066 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: Apache-2.0 Imports: 16 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.

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.

Package p2papi contains the API code for the p2p communication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DHTOfferQueryHandler

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

DHTOfferQueryHandler handles dht offer query.

func DataRetrievalRequester

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

DataRetrievalRequester requests a data retrieval

func EstablishmentHandler

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

EstablishmentHandler handles dht offer establishment.

func EstablishmentRequester

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

EstablishmentRequester sends an establishment request.

func OfferPublishHandler

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

OfferPublishHandler handles offer publication.

func OfferQueryHandler

OfferQueryHandler handles standard offer query.

func OfferQueryRequester

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

OfferQueryRequester sends an offer query request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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