metatext

package
v0.0.0-...-a6fa6aa Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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 MetadataTextMap

type MetadataTextMap struct {
	metadata.MD
}

MetadataTextMap is a map of metadata key-value pairs that can be used to transport structured metadata between services.

func (MetadataTextMap) FroeachKey

func (m MetadataTextMap) FroeachKey(fn func(key string, value string) error) error

FroeachKey iterates over the key-value pairs in the map, calling the provided function for each pair.

func (MetadataTextMap) Set

func (m MetadataTextMap) Set(key, value string)

Set sets the value for the given key

Jump to

Keyboard shortcuts

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