MCPcopy Index your code
hub / github.com/dunglas/httpsfv / Dictionary

Struct Dictionary

dictionary.go:13–16  ·  view source on GitHub ↗

Dictionary is an ordered map of name-value pairs. See https://httpwg.org/specs/rfc9651.html#dictionary Values can be: * Item (Section 3.3.) * Inner List (Section 3.1.1.)

Source from the content-addressed store, hash-verified

11// * Item (Section 3.3.)
12// * Inner List (Section 3.1.1.)
13type Dictionary struct {
14 names []string
15 values map[string]Member
16}
17
18// ErrInvalidDictionaryFormat is returned when a dictionary value is invalid.
19var ErrInvalidDictionaryFormat = errors.New("invalid dictionary format")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected