MCPcopy Create free account
hub / github.com/diillson/chatcli / SubscribeConversation

Method SubscribeConversation

cli/hub_sync.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, convID string, sinceSeq int64)

Source from the content-addressed store, hash-verified

28 AppendEvent(ctx context.Context, ev models.ConversationEvent) (models.ConversationEvent, error)
29 ReadConversation(ctx context.Context, convID string, sinceSeq int64, limit int) ([]models.ConversationEvent, error)
30 SubscribeConversation(ctx context.Context, convID string, sinceSeq int64) (<-chan models.ConversationEvent, error)
31 SetBinding(ctx context.Context, platform, userID, principal string) error
32 ListBindings(ctx context.Context, principal string) ([]models.HubBinding, error)
33}

Callers 4

TestHubClientSubscribeFunction · 0.65
SubscribeConversationMethod · 0.65
TestHubGRPCEndToEndTailFunction · 0.65

Implementers 7

fakeHubServerclient/remote/hub_client_test.go
Clientclient/remote/remote_client.go
chatCLIServiceClientproto/chatcli/v1/chatcli_grpc.pb.go
UnimplementedChatCLIServiceServerproto/chatcli/v1/chatcli_grpc.pb.go
fakeHubClientcli/hub_sync_test.go
localHubClientcli/hub_local.go
Handlerserver/handler.go

Calls

no outgoing calls

Tested by 3

TestHubClientSubscribeFunction · 0.52
TestHubGRPCEndToEndTailFunction · 0.52