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 ¶
- func DHTOfferQueryHandler(reader fcrserver.FCRServerRequestReader, ...) error
- func DataRetrievalRequester(reader fcrserver.FCRServerResponseReader, ...) (*fcrmessages.FCRACKMsg, error)
- func EstablishmentHandler(reader fcrserver.FCRServerRequestReader, ...) error
- func EstablishmentRequester(reader fcrserver.FCRServerResponseReader, ...) (*fcrmessages.FCRACKMsg, error)
- func OfferPublishHandler(reader fcrserver.FCRServerRequestReader, ...) error
- func OfferQueryHandler(reader fcrserver.FCRServerRequestReader, ...) error
- func OfferQueryRequester(reader fcrserver.FCRServerResponseReader, ...) (*fcrmessages.FCRACKMsg, error)
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 ¶
func OfferQueryHandler(reader fcrserver.FCRServerRequestReader, writer fcrserver.FCRServerResponseWriter, request *fcrmessages.FCRReqMsg) error
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.