rpc: close outgoing SSH connection on exit.
This commit is contained in:
@@ -12,6 +12,7 @@ const (
|
||||
RTFilesystemVersionsRequest = 0x11
|
||||
RTInitialTransferRequest = 0x12
|
||||
RTIncrementalTransferRequest = 0x13
|
||||
RTCloseRequest = 0x20
|
||||
)
|
||||
|
||||
type RequestHeader struct {
|
||||
@@ -58,6 +59,10 @@ type ByteStreamRPCProtocolVersionRequest struct {
|
||||
ClientVersion uint8
|
||||
}
|
||||
|
||||
type CloseRequest struct {
|
||||
Goodbye string
|
||||
}
|
||||
|
||||
type ErrorId uint8
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user