aboutsummaryrefslogtreecommitdiff
path: root/http_run_handler.go
diff options
context:
space:
mode:
Diffstat (limited to 'http_run_handler.go')
-rw-r--r--http_run_handler.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/http_run_handler.go b/http_run_handler.go
index 1fa66d1..29eb8a1 100644
--- a/http_run_handler.go
+++ b/http_run_handler.go
@@ -9,7 +9,7 @@ import (
"io"
"net/http"
- libhttp "github.com/shuLhan/share/lib/http"
+ libhttp "git.sr.ht/~shulhan/pakakeh.go/lib/http"
)
// HTTPRunHandler define the function type that will be called when client
@@ -24,7 +24,7 @@ func DefaultHTTPRun() HTTPRunHandler {
var (
logp = `DefaultHTTPRun`
httpcOpts = &libhttp.ClientOptions{
- ServerUrl: rr.Target.BaseURL,
+ ServerURL: rr.Target.BaseURL,
AllowInsecure: true,
}
httpc = libhttp.NewClient(httpcOpts)
@@ -58,7 +58,7 @@ func DefaultHTTPRun() HTTPRunHandler {
var httpRequest *http.Request
- httpRequest, err = httpc.GenerateHttpRequest(
+ httpRequest, err = httpc.GenerateHTTPRequest(
rr.HTTPTarget.Method,
rr.HTTPTarget.Path,
rr.HTTPTarget.RequestType,