MCPcopy Index your code
hub / github.com/Monibuca/engine / Get

Method Get

util/map.go:34–40  ·  view source on GitHub ↗
(k K)

Source from the content-addressed store, hash-verified

32}
33
34func (m *Map[K, V]) Get(k K) (result V) {
35 v, ok := m.Load(k)
36 if !ok {
37 return
38 }
39 return v.(V)
40}
41
42func (m *Map[K, V]) Delete(k K) (v V, ok bool) {
43 var r any

Callers 15

API_streamMethod · 0.45
API_closeStreamMethod · 0.45
API_getConfigMethod · 0.45
API_modifyConfigMethod · 0.45
API_updateConfigMethod · 0.45
API_stop_pushMethod · 0.45
API_stop_subscribeMethod · 0.45
API_replay_rtpdumpMethod · 0.45
API_replay_tsMethod · 0.45
API_replay_mp4Method · 0.45
WritePESPacketMethod · 0.45
receiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected