mcp: add EventStore (#152)
Introduce an EventStore interface to store events for resumable streams. Provide an in-memory implementation. Still to do: connect to streaming transports. For #10
This commit is contained in:
parent
9ddad03891
commit
1465442b25
1 changed files with 474 additions and 17 deletions
|
|
@ -555,7 +555,7 @@ func mustMarshal(t *testing.T, v any) json.RawMessage {
|
|||
|
||||
func TestEventID(t *testing.T) {
|
||||
tests := []struct {
|
||||
sid streamID
|
||||
sid StreamID
|
||||
idx int
|
||||
}{
|
||||
{0, 0},
|
||||
|
|
|
|||
Loading…
Reference in a new issue