summaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authortjp <tjp@ctrl-c.club>2023-11-13 07:27:36 -0700
committertjp <tjp@ctrl-c.club>2023-11-13 07:27:36 -0700
commit629e6a0e0c3a24f35888036f957ee3a631e62816 (patch)
tree76001a2311d3566bf0050b3ef2aa3119fe0823bf /client.go
parent1e0f8e0aaeaf1bd2ee39c02e922238b641bcf88b (diff)
add nex protocol support
Diffstat (limited to 'client.go')
-rw-r--r--client.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.go b/client.go
index de8aed5..566894a 100644
--- a/client.go
+++ b/client.go
@@ -12,6 +12,7 @@ import (
"tildegit.org/tjp/sliderule/gemini"
"tildegit.org/tjp/sliderule/gopher"
"tildegit.org/tjp/sliderule/internal/types"
+ "tildegit.org/tjp/sliderule/nex"
"tildegit.org/tjp/sliderule/spartan"
)
@@ -50,6 +51,7 @@ func NewClient(tlsConf *tls.Config) Client {
"spartan": spartan.NewClient(),
"http": hc,
"https": hc,
+ "nex": nex.Client{},
},
MaxRedirects: DefaultMaxRedirects,
}