Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamJsonChan ¶
StreamJsonChan Streams a channel of values into a JSON list via a writer.
Types ¶
type ContentEncoding ¶
type ContentEncoding string
const ( ContentEncodingNone ContentEncoding = "" ContentEncodingGzip ContentEncoding = "gzip" ContentEncodingBrotli ContentEncoding = "br" ContentEncodingZstd ContentEncoding = "zstd" )
func SelectEncodingServerPreference ¶
func SelectEncodingServerPreference(acceptEncoding string) (contentEncoding ContentEncoding)
Click to show internal directories.
Click to hide internal directories.