Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsExpectedDisconnect ¶
Types ¶
type Duplex ¶
type Duplex interface {
Send(ctx context.Context, b []byte) error
Recv(ctx context.Context) ([]byte, error)
Close(cause error) error
}
Duplex represents a bidirectional communication channel between the Host and an authenticated and connected plugin. This is implemented by a WebSocket.
Click to show internal directories.
Click to hide internal directories.