main: remove global handler and unused structs

This commit is contained in:
Christian Schwarz
2017-05-03 17:38:11 +02:00
parent f005ce318d
commit 77f749112c
2 changed files with 5 additions and 20 deletions
+4 -1
View File
@@ -6,7 +6,10 @@ import (
"io"
)
type Handler struct{}
type Handler struct {
PushMapping zfs.DatasetMapping
PullMapping zfs.DatasetMapping
}
func (h Handler) HandleFilesystemRequest(r rpc.FilesystemRequest) (roots []zfs.DatasetPath, err error) {
return