marshaler

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultContentType = "application/json"
)

Functions

This section is empty.

Types

type GatewayMarshaler

type GatewayMarshaler struct{}

func (*GatewayMarshaler) ContentType

func (*GatewayMarshaler) ContentType(v interface{}) string

func (*GatewayMarshaler) Delimiter

func (m *GatewayMarshaler) Delimiter() []byte

func (*GatewayMarshaler) Marshal

func (m *GatewayMarshaler) Marshal(v interface{}) ([]byte, error)

func (*GatewayMarshaler) NewDecoder

func (m *GatewayMarshaler) NewDecoder(r io.Reader) runtime.Decoder

func (*GatewayMarshaler) NewEncoder

func (m *GatewayMarshaler) NewEncoder(w io.Writer) runtime.Encoder

func (*GatewayMarshaler) Unmarshal

func (m *GatewayMarshaler) Unmarshal(data []byte, v interface{}) error

Jump to

Keyboard shortcuts

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