header

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NegotiateReceiverProtocol

func NegotiateReceiverProtocol(rw io.ReadWriter, protocols []uint8) (psi.Protocol, error)

NegotiateReceiverProtocol sends a list of supported PSI protocol with the sender and returns the selected one from the sender.

func NegotiateSenderProtocol

func NegotiateSenderProtocol(rw io.ReadWriter) (psi.Protocol, error)

NegotiateSenderProtocol receives a list of receiver supported PSI protocol and returns the selected one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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