diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-05-01 07:56:25 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-05-01 07:56:25 -0600 |
commit | 9a2da81b11ad0064cca24ce7974827d032309369 (patch) | |
tree | 4313224dc089208423e78bffc3ec50833e35bcea /spartan/client.go | |
parent | 21e2758145d100d74013060f7090d84679cae683 (diff) |
name change gus -> sliderule
Diffstat (limited to 'spartan/client.go')
-rw-r--r-- | spartan/client.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spartan/client.go b/spartan/client.go index 154b18a..e571c14 100644 --- a/spartan/client.go +++ b/spartan/client.go @@ -7,7 +7,7 @@ import ( "net" "strconv" - "tildegit.org/tjp/gus" + sr "tildegit.org/tjp/sliderule" ) // Client is used for sending spartan requests and receiving responses. @@ -18,7 +18,7 @@ import ( type Client struct{} // RoundTrip sends a single spartan request and returns its response. -func (c Client) RoundTrip(request *gus.Request, body io.Reader) (*gus.Response, error) { +func (c Client) RoundTrip(request *sr.Request, body io.Reader) (*sr.Response, error) { if request.Scheme != "spartan" && request.Scheme != "" { return nil, errors.New("non-spartan protocols not supported") } |