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

Method ReadConversation

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

Source from the content-addressed store, hash-verified

27 NewConversation(ctx context.Context, principal string) (string, error)
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)

Callers 6

ReadConversationMethod · 0.65
pullMethod · 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