Documentation ¶
Overview ¶
Package encoding provides abstractions for concrete encoding implementations.
Index ¶
Constants ¶
View Source
const ( // AcceptHeader for defining accept encoding. AcceptHeader string = "Accept" // ContentTypeHeader for defining content type headers. ContentTypeHeader string = "Content-Type" // ContentEncodingHeader for defining content encoding headers. ContentEncodingHeader string = "Content-Encoding" // AcceptEncodingHeader for defining accept encoding headers, usually a compression algorithm. AcceptEncodingHeader string = "Accept-Encoding" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecodeFunc ¶ added in v0.4.0
DecodeFunc function definition of a JSON decoding function.
type DecodeRawFunc ¶ added in v0.4.0
DecodeRawFunc function definition of a JSON decoding function from a byte slice.
type EncodeFunc ¶ added in v0.4.0
EncodeFunc function definition of a JSON encoding function.
Directories ¶
Path | Synopsis |
---|---|
Package json is a concrete implementation of the encoding abstractions.
|
Package json is a concrete implementation of the encoding abstractions. |
Package protobuf is a concrete implementation of the encoding abstractions.
|
Package protobuf is a concrete implementation of the encoding abstractions. |
Click to show internal directories.
Click to hide internal directories.