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

Method GetEvents

pkg/session/session.go:198–198  ·  view source on GitHub ↗

GetEvents 获取事件列表

(ctx context.Context, sessionID string, filter *EventFilter)

Source from the content-addressed store, hash-verified

196
197 // GetEvents 获取事件列表
198 GetEvents(ctx context.Context, sessionID string, filter *EventFilter) ([]Event, error)
199
200 // UpdateState 更新状态
201 UpdateState(ctx context.Context, sessionID string, delta map[string]any) error

Callers 15

AllMethod · 0.65
AtMethod · 0.65
FilterMethod · 0.65
TestEventsFunction · 0.65
TestDatabasePersistenceFunction · 0.65
TestEventFilteringFunction · 0.65

Implementers 2

InMemoryServicepkg/session/inmemory.go
Servicepkg/session/sqlite/store.go

Calls

no outgoing calls

Tested by 9

TestEventsFunction · 0.52
TestDatabasePersistenceFunction · 0.52
TestEventFilteringFunction · 0.52