rpc: close outgoing SSH connection on exit.

This commit is contained in:
Christian Schwarz
2017-05-14 12:28:19 +02:00
parent 04206ebd8b
commit 48a4e8033a
3 changed files with 48 additions and 0 deletions
+5
View File
@@ -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 (