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

Method GetCodec

kv/memberlist/memberlist_client.go:729–731  ·  view source on GitHub ↗

GetCodec returns codec for given ID or nil.

(codecID string)

Source from the content-addressed store, hash-verified

727
728// GetCodec returns codec for given ID or nil.
729func (m *KV) GetCodec(codecID string) codec.Codec {
730 return m.codecs[codecID]
731}
732
733// GetListeningPort returns port used for listening for memberlist communication. Useful when BindPort is set to 0.
734// This call is only valid after KV service has been started.

Callers 5

DeleteMethod · 0.95
NotifyMsgMethod · 0.95
LocalStateMethod · 0.95
MergeRemoteStateMethod · 0.95
NewClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected