util

package
v0.0.0-...-44fef55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL