codec

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalDDLAsRedoLog

func MarshalDDLAsRedoLog(d *model.DDLEvent, b []byte) (o []byte, err error)

MarshalDDLAsRedoLog converts a DDLEvent into RedoLog, and then marshals it.

func MarshalRedoLog

func MarshalRedoLog(r *model.RedoLog, b []byte) (o []byte, err error)

MarshalRedoLog marshals a RedoLog into bytes.

func UnmarshalRedoLog

func UnmarshalRedoLog(bts []byte) (r *model.RedoLog, o []byte, err error)

UnmarshalRedoLog unmarshals a RedoLog from the given byte slice.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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