Finish implementation of RPC.

This commit is contained in:
Christian Schwarz
2017-04-16 21:38:31 +02:00
parent c1aed10e8b
commit 4494afe47f
4 changed files with 139 additions and 17 deletions
+4 -1
View File
@@ -9,6 +9,7 @@ const (
RTProtocolVersionRequest RequestType = 1
RTFilesystemRequest = 16
RTInitialTransferRequest = 17
RTIncrementalTransferRequest = 18
)
type RequestHeader struct {
@@ -55,7 +56,9 @@ const (
type ResponseType uint8
const (
ROK ResponseType = 0
ROK ResponseType = 1
RFilesystems = 2
RChunkedStream = 3
)
type ResponseHeader struct {