Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handshaker ¶
type Handshaker interface { // Handshake with a remote server by initiating, and then interactively // completing, a handshake protocol. The remote server is accessed by // reading/writing to the `io.ReaderWriter`. Handshake(ctx context.Context, rw io.ReadWriter) error // AcceptHandshake from a remote client by waiting for the initiation of, // and then interactively completing, a handshake protocol. The remote // client is accessed by reading/writing to the `io.ReaderWriter`. AcceptHandshake(ctx context.Context, rw io.ReadWriter) error }
func New ¶
func New(signVerifier protocol.SignVerifier) Handshaker
Click to show internal directories.
Click to hide internal directories.