metatext

package
v0.0.0-...-404d2c9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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