diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-28 14:57:25 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-28 14:57:32 +0700 |
| commit | db2e69b62ddb2038847237fb4434702057560b22 (patch) | |
| tree | 6283538f45a0aa57f9b1dcd8cd4791f4880c217b /http_server.go | |
| parent | 003758ee9983b49b246f523d72bbddeed0571274 (diff) | |
| download | awwan-db2e69b62ddb2038847237fb4434702057560b22.tar.xz | |
all: split type fsRequest to its separate file
Diffstat (limited to 'http_server.go')
| -rw-r--r-- | http_server.go | 6 |
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" |
