Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeLatin1 ¶
DecodeLatin1 - decodes Latin1 string from the reader This method is useful for editing response bodies when you don't want to handle different encodings
func EncodeLatin1 ¶
EncodeLatin1 - encodes the string as a byte array using Latin1
func NewResponse ¶
NewResponse builds a new HTTP response. If body is nil, an empty byte.Buffer will be provided to be consistent with the guarantees provided by http.Transport and http.Client.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.