server: Make Request.RemoteAddr a string
This commit is contained in:
parent
0ab236c736
commit
a7f958b20d
|
@ -5,7 +5,6 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"io"
|
"io"
|
||||||
"net"
|
|
||||||
"net/url"
|
"net/url"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -39,7 +38,7 @@ type Request struct {
|
||||||
// sets RemoteAddr to an "IP:port" address before invoking a
|
// sets RemoteAddr to an "IP:port" address before invoking a
|
||||||
// handler.
|
// handler.
|
||||||
// This field is ignored by the Gemini client.
|
// This field is ignored by the Gemini client.
|
||||||
RemoteAddr net.Addr
|
RemoteAddr string
|
||||||
|
|
||||||
// TLS allows Gemini servers and other software to record
|
// TLS allows Gemini servers and other software to record
|
||||||
// information about the TLS connection on which the request
|
// information about the TLS connection on which the request
|
||||||
|
|
Loading…
Reference in New Issue
Block a user