MCPcopy Create free account
hub / github.com/WICG/webpackage / indexEntry

Struct indexEntry

go/bundle/encoder.go:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72var _ = io.WriterTo(&Bundle{})
73
74type indexEntry struct {
75 Request
76 Variants string
77 VariantKey string
78 Offset uint64 // Offset within the responses section
79 Length uint64
80}
81
82func (r indexEntry) String() string {
83 return fmt.Sprintf("{URL: %v, Header: %v, Offset: %d, Length: %d}", r.URL, r.Header, r.Offset, r.Length)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected