summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'types.go')
-rw-r--r--types.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/types.go b/types.go
new file mode 100644
index 0000000..af04b54
--- /dev/null
+++ b/types.go
@@ -0,0 +1,17 @@
+package zw
+
+type ServerInfo struct {
+ APIMajor uint32
+ APIMinor uint32
+ DaemonVersion string
+}
+
+type ListFilter struct {
+ Prefix string
+ Contains string
+}
+
+type ListedFile struct {
+ LogicalPath string
+ Size uint64
+}