diff options
| author | Shulhan <ms@kilabit.info> | 2023-11-16 22:59:22 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-11-16 22:59:22 +0700 |
| commit | 4c17c972104e2dc50dbee4138c992f620e7f10bd (patch) | |
| tree | 49b73e28694857fb490dccda035214f11f5047f0 /http_server.go | |
| parent | f2b71ae4bf9d264d5c6ea51edc2d402e462e2033 (diff) | |
| download | awwan-4c17c972104e2dc50dbee4138c992f620e7f10bd.tar.xz | |
all: refactoring, rename Request to ExecRequest
Diffstat (limited to 'http_server.go')
| -rw-r--r-- | http_server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http_server.go b/http_server.go index 30dd52a..391110c 100644 --- a/http_server.go +++ b/http_server.go @@ -590,7 +590,7 @@ func (httpd *httpServer) awwanApiFsPut(epr *libhttp.EndpointRequest) (rawBody [] func (httpd *httpServer) awwanApiExecute(epr *libhttp.EndpointRequest) (resb []byte, err error) { var ( logp = "awwanApiExecute" - req = &Request{} + req = &ExecRequest{} res = &libhttp.EndpointResponse{} ) @@ -613,7 +613,7 @@ func (httpd *httpServer) awwanApiExecute(epr *libhttp.EndpointRequest) (resb []b var ( data = &HttpResponse{ - Request: req, + ExecRequest: req, } logw bytes.Buffer |
