Versions in this module Expand all Collapse all v0 v0.0.28 Nov 12, 2026 v0.0.27 Nov 9, 2026 v0.0.26 Nov 9, 2026 v0.0.25 Nov 5, 2026 v0.0.24 Oct 29, 2026 v0.0.23 Oct 9, 2026 v0.0.22 Sep 30, 2026 v0.0.21 Sep 30, 2026 v0.0.20 Sep 29, 2026 v0.0.19 Sep 28, 2026 v0.0.18 Aug 27, 2026 Changes in this version + const Delimiter + const EncodingBase64 + const EncodingText + var ErrExists = errors.New("record already exists") + var ErrNoStore = errors.New("no state store configured") + var ErrNotBrowsable = errors.New("state store cannot be browsed") + var ErrNotFound = errors.New("record not found") + var ErrStoreUnreachable = errors.New("could not connect to state store") + func ComposeKey(appID, key string) string + type DeleteResult struct + Error string + Key string + OK bool + type Item struct + AppID string + ContentType string + ETag string + Encoding string + Key string + Kind Kind + LogicalKey string + Preview string + Size int + TTLExpiresAt *time.Time + type Kind string + const KindActor + const KindApp + const KindWorkflow + type ListQuery struct + AppID string + IncludeInternal bool + PageSize int + PageToken string + Search string + type ListResult struct + Items []Item + NextToken string + type Record struct + AppID string + ContentType string + ETag string + Encoding string + Key string + Kind Kind + LogicalKey string + Size int + TTLExpiresAt *time.Time + Truncated bool + Value string + type Service interface + AppIDs func(ctx context.Context, includeInternal bool) ([]string, error) + Delete func(ctx context.Context, keys []string) []DeleteResult + List func(ctx context.Context, q ListQuery) (ListResult, error) + Record func(ctx context.Context, key string) (Record, error) + Set func(ctx context.Context, req SetRequest) error + func New(store statestore.Store, rr statestore.RecordReader) Service + func NewUnreachable(name, conn string) Service + type SetRequest struct + AppID string + Key string + Overwrite bool + Value string