codec

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec[T stream.Thing] struct {
	Undefined T
	// contains filtered or unexported fields
}

func New

func New[T stream.Thing](prefixes curie.Prefixes) Codec[T]

func (Codec[T]) DecodeGetObject

func (codec Codec[T]) DecodeGetObject(obj *s3.GetObjectOutput) T

func (Codec[T]) DecodeHasObject

func (codec Codec[T]) DecodeHasObject(obj *s3.HeadObjectOutput) T

func (Codec[T]) Encode

func (codec Codec[T]) Encode(entity T) *s3.PutObjectInput

func (Codec[T]) EncodeKey

func (codec Codec[T]) EncodeKey(key stream.Thing) string

Jump to

Keyboard shortcuts

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