Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder interface {
Encode(
body interface{},
) ([]byte, error)
EncodeAndWrite(
writer io.Writer,
beforeWriteFn func() error,
body interface{},
) error
}
Encoder interface
type ProtoJSONEncoder ¶
type ProtoJSONEncoder interface {
PrecomputeMarshal(
body interface{},
) (map[string]interface{}, error)
}
ProtoJSONEncoder interface
Click to show internal directories.
Click to hide internal directories.