codec

package
v0.0.0-...-26c4821 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonRequestReadWriter

type JsonRequestReadWriter struct {
}

func NewJsonRequestReadWriter

func NewJsonRequestReadWriter() *JsonRequestReadWriter

func (*JsonRequestReadWriter) Read

func (c *JsonRequestReadWriter) Read(session getty.Session, data []byte) (interface{}, int, error)

func (*JsonRequestReadWriter) Write

func (c *JsonRequestReadWriter) Write(session getty.Session, pkg interface{}) ([]byte, error)

type JsonResponseReadWriter

type JsonResponseReadWriter struct {
}

func NewJsonResponseReadWriter

func NewJsonResponseReadWriter() *JsonResponseReadWriter

func (*JsonResponseReadWriter) Read

func (c *JsonResponseReadWriter) Read(session getty.Session, data []byte) (interface{}, int, error)

func (*JsonResponseReadWriter) Write

func (c *JsonResponseReadWriter) Write(session getty.Session, pkg interface{}) ([]byte, error)

Jump to

Keyboard shortcuts

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