summaryrefslogtreecommitdiff
path: root/http_server.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_server.go')
-rw-r--r--http_server.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/http_server.go b/http_server.go
index 3c0a77f..94dfaf2 100644
--- a/http_server.go
+++ b/http_server.go
@@ -8,8 +8,8 @@ import (
"fmt"
"net/http"
- libhttp "github.com/shuLhan/share/lib/http"
- "github.com/shuLhan/share/lib/memfs"
+ libhttp "git.sr.ht/~shulhan/pakakeh.go/lib/http"
+ "git.sr.ht/~shulhan/pakakeh.go/lib/memfs"
)
// List of HTTP APIs.
@@ -272,7 +272,7 @@ func (gorankusu *Gorankusu) apiAttackHTTPCancel(_ *libhttp.EndpointRequest) (res
}
func (gorankusu *Gorankusu) apiAttackResultDelete(epr *libhttp.EndpointRequest) (resbody []byte, err error) {
- name := epr.HttpRequest.Form.Get(paramNameName)
+ name := epr.HTTPRequest.Form.Get(paramNameName)
if len(name) == 0 {
return nil, errInvalidParameter(paramNameName, name)
}
@@ -293,7 +293,7 @@ func (gorankusu *Gorankusu) apiAttackResultDelete(epr *libhttp.EndpointRequest)
}
func (gorankusu *Gorankusu) apiAttackResultGet(epr *libhttp.EndpointRequest) (resbody []byte, err error) {
- name := epr.HttpRequest.Form.Get(paramNameName)
+ name := epr.HTTPRequest.Form.Get(paramNameName)
if len(name) == 0 {
return nil, errInvalidParameter(paramNameName, name)
}