serdes

package
v0.0.0-...-76fafce Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonSerde

type JsonSerde struct {
	// contains filtered or unexported fields
}

func NewJsonSerde

func NewJsonSerde(r registry.Registry) *JsonSerde

func (JsonSerde) Register

func (c JsonSerde) Register(v registry.Registrable, options ...registry.BuildOption) error

func (JsonSerde) RegisterFactory

func (c JsonSerde) RegisterFactory(key string, fn func() interface{}, options ...registry.BuildOption) error

func (JsonSerde) RegisterKey

func (c JsonSerde) RegisterKey(key string, v interface{}, options ...registry.BuildOption) error

type ProtoSerde

type ProtoSerde struct {
	// contains filtered or unexported fields
}

func NewProtoSerde

func NewProtoSerde(r registry.Registry) *ProtoSerde

func (ProtoSerde) Register

func (c ProtoSerde) Register(v registry.Registrable, options ...registry.BuildOption) error

func (ProtoSerde) RegisterFactory

func (c ProtoSerde) RegisterFactory(key string, fn func() interface{}, options ...registry.BuildOption) error

func (ProtoSerde) RegisterKey

func (c ProtoSerde) RegisterKey(key string, v interface{}, options ...registry.BuildOption) error

Jump to

Keyboard shortcuts

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