Update Response documentation
This commit is contained in:
parent
37e5686764
commit
0c303588a4
20
response.go
20
response.go
@ -7,7 +7,11 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Response is a Gemini response.
|
// Response represents the response from a Gemini request.
|
||||||
|
//
|
||||||
|
// The Client returns Responses from servers once the response
|
||||||
|
// header has been received. The response body is streamed on demand
|
||||||
|
// as the Body field is read.
|
||||||
type Response struct {
|
type Response struct {
|
||||||
// Status contains the response status code.
|
// Status contains the response status code.
|
||||||
Status int
|
Status int
|
||||||