Documentation ¶
Index ¶
Constants ¶
View Source
const (
Accept = "Accept"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder interface {
Decode(v interface{}) error
}
func NewDecoder ¶
func NewJSONDecoder ¶
type Encoder ¶
type Encoder interface {
Encode(v interface{}) error
}
func NewEncoder ¶
func NewEncoder(w http.ResponseWriter) Encoder
func NewJSONEncoder ¶
Click to show internal directories.
Click to hide internal directories.