aboutsummaryrefslogtreecommitdiff
path: root/http_server.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-09-28 14:57:25 +0700
committerShulhan <ms@kilabit.info>2023-09-28 14:57:32 +0700
commitdb2e69b62ddb2038847237fb4434702057560b22 (patch)
tree6283538f45a0aa57f9b1dcd8cd4791f4880c217b /http_server.go
parent003758ee9983b49b246f523d72bbddeed0571274 (diff)
downloadawwan-db2e69b62ddb2038847237fb4434702057560b22.tar.xz
all: split type fsRequest to its separate file
Diffstat (limited to 'http_server.go')
-rw-r--r--http_server.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/http_server.go b/http_server.go
index c5d1c56..2491831 100644
--- a/http_server.go
+++ b/http_server.go
@@ -24,12 +24,6 @@ const (
paramNamePath = "path"
)
-type fsRequest struct {
- Path string `json:"path"`
- Content []byte `json:"content"`
- IsDir bool `json:"is_dir"`
-}
-
func (aww *Awwan) registerHttpApis() (err error) {
var (
logp = "registerHttpApis"