converter

package
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter interface {
	// To converts the given value to a payload
	To(v interface{}) (payload.Payload, error)

	// From converts the given payload to a value
	From(data payload.Payload, v interface{}) error
}
var DefaultConverter Converter = &jsonConverter{}

Jump to

Keyboard shortcuts

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