MCPcopy Create free account
hub / github.com/astercloud/aster / append

Method append

pkg/session/inmemory.go:396–401  ·  view source on GitHub ↗
(event *Event)

Source from the content-addressed store, hash-verified

394}
395
396func (e *inMemoryEvents) append(event *Event) {
397 e.mu.Lock()
398 defer e.mu.Unlock()
399
400 e.events = append(e.events, event)
401}
402
403func (e *inMemoryEvents) filter(predicate func(*Event) bool) []Event {
404 e.mu.RLock()

Callers 3

buildQueryStringMethod · 0.80
AppendEventMethod · 0.80
buildUrlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected