From 66a1b1f39a1e1d5499b548b36d18c8daa872d7da Mon Sep 17 00:00:00 2001 From: tjpcc Date: Sat, 28 Jan 2023 14:52:35 -0700 Subject: gopher support. Some of the contrib packages were originally built gemini-specific and had to be refactored into generic core functionality and thin protocol-specific wrappers for each of gemini and gopher. --- contrib/tlsauth/auth_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'contrib/tlsauth') diff --git a/contrib/tlsauth/auth_test.go b/contrib/tlsauth/auth_test.go index fc39359..30b63f5 100644 --- a/contrib/tlsauth/auth_test.go +++ b/contrib/tlsauth/auth_test.go @@ -143,11 +143,12 @@ func setup( server, err := gemini.NewServer( context.Background(), - nil, - serverTLS, + "localhost", "tcp", "127.0.0.1:0", handler, + nil, + serverTLS, ) require.Nil(t, err) -- cgit v1.2.3