Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( // Header is the User-Agent header key // https://www.rfc-editor.org/rfc/rfc7231#section-5.5.3 Header = `User-Agent` )
Variables ¶
This section is empty.
Functions ¶
func SetHeaders ¶ added in v1.6.105
func SetHeaders(client HeaderSetter)
SetHeaders configures the User-Agent http.Header for the client.
Types ¶
type HeaderSetter ¶ added in v1.6.105
HeaderSetter is anything that implements SetHeaders(http.Header).
 Click to show internal directories. 
   Click to hide internal directories.