MCPcopy
hub / github.com/grafana/dskit / ProtoDescFactory

Function ProtoDescFactory

ring/model.go:34–36  ·  view source on GitHub ↗

ProtoDescFactory makes new Descs

()

Source from the content-addressed store, hash-verified

32
33// ProtoDescFactory makes new Descs
34func ProtoDescFactory() proto.Message {
35 return NewDesc()
36}
37
38// GetCodec returns the codec used to encode and decode data being put by ring.
39func GetCodec() codec.Codec {

Callers

nothing calls this directly

Calls 1

NewDescFunction · 0.85

Tested by

no test coverage detected