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

Method AppendEvent

cli/hub_sync.go:28–28  ·  view source on GitHub ↗
(ctx context.Context, ev models.ConversationEvent)

Source from the content-addressed store, hash-verified

26 ResolveActiveConversation(ctx context.Context, principal string) (convID, principal2 string, err error)
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

Callers 7

AppendEventMethod · 0.65
appendMethod · 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