summaryrefslogtreecommitdiff
path: root/gemini/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'gemini/client.go')
-rw-r--r--gemini/client.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/gemini/client.go b/gemini/client.go
index 0e8dd07..4f99078 100644
--- a/gemini/client.go
+++ b/gemini/client.go
@@ -6,6 +6,8 @@ import (
"errors"
"io"
"net"
+
+ "tildegit.org/tjp/gus"
)
// Client is used for sending gemini requests and parsing gemini responses.
@@ -31,7 +33,7 @@ func NewClient(tlsConf *tls.Config) Client {
//
// This method will not automatically follow redirects or cache permanent failures or
// redirects.
-func (client Client) RoundTrip(request *Request) (*Response, error) {
+func (client Client) RoundTrip(request *gus.Request) (*gus.Response, error) {
if request.Scheme != "gemini" && request.Scheme != "" {
return nil, errors.New("non-gemini protocols not supported")
}