impl

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONCodec

type JSONCodec struct{}

JSONCodec is json impl of codec.Codec.

func (*JSONCodec) Marshal

func (j *JSONCodec) Marshal(v interface{}) ([]byte, error)

func (*JSONCodec) Unmarshal

func (j *JSONCodec) Unmarshal(data []byte, v interface{}) error

type YamlCodec

type YamlCodec struct{}

YamlCodec is json yaml of codec.Codec.

func (*YamlCodec) Marshal

func (y *YamlCodec) Marshal(v interface{}) ([]byte, error)

func (*YamlCodec) Unmarshal

func (y *YamlCodec) Unmarshal(data []byte, v interface{}) error

Jump to

Keyboard shortcuts

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