From 9a2da81b11ad0064cca24ce7974827d032309369 Mon Sep 17 00:00:00 2001 From: tjpcc Date: Mon, 1 May 2023 07:56:25 -0600 Subject: name change gus -> sliderule --- examples/inspectls/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/inspectls/main.go') diff --git a/examples/inspectls/main.go b/examples/inspectls/main.go index 485b84e..5becb71 100644 --- a/examples/inspectls/main.go +++ b/examples/inspectls/main.go @@ -12,9 +12,9 @@ import ( "os" "strings" - "tildegit.org/tjp/gus" - "tildegit.org/tjp/gus/gemini" - "tildegit.org/tjp/gus/logging" + sr "tildegit.org/tjp/sliderule" + "tildegit.org/tjp/sliderule/gemini" + "tildegit.org/tjp/sliderule/logging" ) func main() { @@ -54,7 +54,7 @@ func envConfig() (string, string) { return certfile, keyfile } -var inspectHandler = gus.HandlerFunc(func(ctx context.Context, req *gus.Request) *gus.Response { +var inspectHandler = sr.HandlerFunc(func(ctx context.Context, req *sr.Request) *sr.Response { // build and return a ```-wrapped description of the connection TLS state body := "```\n" + displayTLSState(req.TLSState) + "\n```" return gemini.Success("text/gemini", bytes.NewBufferString(body)) -- cgit v1.2.3