MCPcopy Index your code
hub / github.com/subtrace/subtrace / Get

Method Get

event/event.go:78–83  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

76}
77
78func (ev *Event) Get(key string) string {
79 ev.mu.RLock()
80 defer ev.mu.RUnlock()
81 val, _ := ev.vals[key]
82 return val
83}
84
85func (ev *Event) NewLazy(key string) chan<- string {
86 ch := make(chan string, 1)

Callers 6

WithTagFunction · 0.45
CallFunction · 0.45
htmlMethod · 0.45
ServeHTTPMethod · 0.45
HandleHijackMethod · 0.45
sendResponseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected