Documentation
¶
Index ¶
- type CustomTranscoder
- func (c *CustomTranscoder) ContentType(_ interface{}) string
- func (c *CustomTranscoder) Marshal(v interface{}) ([]byte, error)
- func (c *CustomTranscoder) NewDecoder(r io.Reader) runtime.Decoder
- func (c *CustomTranscoder) NewEncoder(w io.Writer) runtime.Encoder
- func (c *CustomTranscoder) Unmarshal(data []byte, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomTranscoder ¶
type CustomTranscoder struct {
// contains filtered or unexported fields
}
func NewCustomTranscoder ¶
func NewCustomTranscoder(marshaler runtime.Marshaler) *CustomTranscoder
func (*CustomTranscoder) ContentType ¶
func (c *CustomTranscoder) ContentType(_ interface{}) string
func (*CustomTranscoder) Marshal ¶
func (c *CustomTranscoder) Marshal(v interface{}) ([]byte, error)
func (*CustomTranscoder) NewDecoder ¶
func (c *CustomTranscoder) NewDecoder(r io.Reader) runtime.Decoder
func (*CustomTranscoder) NewEncoder ¶
func (c *CustomTranscoder) NewEncoder(w io.Writer) runtime.Encoder
func (*CustomTranscoder) Unmarshal ¶
func (c *CustomTranscoder) Unmarshal(data []byte, v interface{}) error
Click to show internal directories.
Click to hide internal directories.