meta

package
v1.145.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 3 Imported by: 19

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attribute

func Attribute(ctx context.Context, key string) fmt.Stringer

Attribute of meta.

func Attributes

func Attributes(ctx context.Context) map[string]fmt.Stringer

Attributes of meta.

func Error added in v1.145.2

func Error(err error) fmt.Stringer

Error for meta.

func IsBlank added in v1.145.0

func IsBlank(actual fmt.Stringer) bool

IsBlank checks for an empty string.

func IsEqual added in v1.145.0

func IsEqual(actual fmt.Stringer, expected string) bool

IsEqual checks if actual is expected.

func StringOrBlank added in v1.145.0

func StringOrBlank(s fmt.Stringer) string

StringOrBlank for meta.

func Strings added in v1.145.0

func Strings(ctx context.Context) map[string]string

Strings of meta.

func WithAttribute

func WithAttribute(ctx context.Context, key string, value fmt.Stringer) context.Context

WithAttribute to meta.

Types

type Redacted added in v1.145.2

type Redacted string

Redacted for meta.

func (Redacted) String added in v1.145.2

func (v Redacted) String() string

String to satisfy fmt.Stringer.

type String added in v1.145.2

type String string

String for meta.

func (String) String added in v1.145.2

func (v String) String() string

String to satisfy fmt.Stringer.

Jump to

Keyboard shortcuts

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