MCPcopy Create free account
hub / github.com/basecamp/hey-cli / WithMeta

Function WithMeta

internal/output/envelope.go:40–47  ·  view source on GitHub ↗
(key string, value any)

Source from the content-addressed store, hash-verified

38}
39
40func WithMeta(key string, value any) ResponseOption {
41 return func(r *Response) {
42 if r.Meta == nil {
43 r.Meta = map[string]any{}
44 }
45 r.Meta[key] = value
46 }
47}

Callers 1

statsOptionFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected