MCPcopy Create free account
hub / github.com/cortexproject/cortex / MessageWithBufRef

Struct MessageWithBufRef

pkg/cortexpb/codec.go:142–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140var _ ReleasableMessage = &MessageWithBufRef{}
141
142type MessageWithBufRef struct {
143 bs mem.BufferSlice
144}
145
146func (m *MessageWithBufRef) RegisterBuffer(buffer mem.Buffer) {
147 m.bs = append(m.bs, buffer)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected