aboutsummaryrefslogtreecommitdiff
path: root/request.go
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2020-12-18 01:43:18 -0500
committerAdnan Maolood <[email protected]>2020-12-18 01:43:18 -0500
commit04bd0f452053cc271ecdf1de2aa9f59afe9a1359 (patch)
tree8dd71ebbcf591863f6bd920ad89f1ed6d480dbbe /request.go
parentAdd ReadRequest and ReadResponse functions (diff)
downloadgo-gemini-04bd0f452053cc271ecdf1de2aa9f59afe9a1359.tar.xz
go-gemini-04bd0f452053cc271ecdf1de2aa9f59afe9a1359.zip
Update Request documentation
Diffstat (limited to 'request.go')
-rw-r--r--request.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/request.go b/request.go
index 8313e81..03ea062 100644
--- a/request.go
+++ b/request.go
@@ -16,6 +16,7 @@ type Request struct {
// For client requests, Host specifies the host on which the URL is sought.
// Host must contain a port.
+ //
// This field is ignored by the server.
Host string
@@ -28,11 +29,13 @@ type Request struct {
// RemoteAddr allows servers and other software to record the network
// address that sent the request.
+ //
// This field is ignored by the client.
RemoteAddr net.Addr
// TLS allows servers and other software to record information about the TLS
// connection on which the request was received.
+ //
// This field is ignored by the client.
TLS tls.ConnectionState