Update Response documentation

This commit is contained in:
Adnan Maolood 2021-02-14 16:23:38 -05:00
parent 37e5686764
commit 0c303588a4
2 changed files with 17 additions and 7 deletions

View File

@ -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