Documentation
¶
Index ¶
- Variables
- type FlowerSnapshot
- type Record
- type Store
- func (s *Store) AdvanceFlower(ctx context.Context, endpointID string, userPublicID string, threadID string, ...) (Record, error)
- func (s *Store) Close() error
- func (s *Store) EnsureFlower(ctx context.Context, endpointID string, userPublicID string, ...) (map[string]Record, error)
- func (s *Store) RetireFlowerThreadReadState(ctx context.Context, endpointID string, threadID string) error
- type Surface
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrThreadRetired = errors.New("thread read state retired")
Functions ¶
This section is empty.
Types ¶
type FlowerSnapshot ¶
type Record ¶
type Record struct {
EndpointID string `json:"endpoint_id"`
ScopeID string `json:"scope_id"`
Surface Surface `json:"surface"`
ThreadID string `json:"thread_id"`
LastSeenActivityRevision int64 `json:"last_seen_activity_revision"`
LastReadMessageAtUnixMs int64 `json:"last_read_message_at_unix_ms"`
LastSeenWaitingPromptID string `json:"last_seen_waiting_prompt_id"`
LastReadUpdatedAtUnixS int64 `json:"last_read_updated_at_unix_s"`
LastSeenActivitySignature string `json:"last_seen_activity_signature"`
UpdatedAtUnixMs int64 `json:"updated_at_unix_ms"`
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AdvanceFlower ¶
func (*Store) EnsureFlower ¶
Click to show internal directories.
Click to hide internal directories.