serializer

package
v0.0.0-...-3491b9c Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArraySerializerType = 1
	JsonSerializerType  = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArraySerializer

type ArraySerializer struct {
}

func NewArraySerializer

func NewArraySerializer() *ArraySerializer

type ISerializer

type ISerializer interface {
}

func NewSerializer

func NewSerializer(serializerType int) ISerializer

type JsonSerializer

type JsonSerializer struct{}

func NewJsonSerializer

func NewJsonSerializer() *JsonSerializer

func (*JsonSerializer) MappingData

func (m *JsonSerializer) MappingData(pd interface{}, e *canal.RowsEvent, n int) error

Jump to

Keyboard shortcuts

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