Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScopeStation = "station" ScopeStationLocker = "station-locker" )
ScopeStation is required by every tool here. ScopeStationLocker is RESERVED and gates the locker tools, on the reasoning that reserved `comm-file` beside `comm`: splitting a shipped scope is a MAJOR, merging two is free.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
// Store is the knowledge base: it holds stations, their assets, and the keys this
// endpoint authenticates. Unlike COMM's Deps.Store, this one is read AND written —
// but only station tables. Nothing here writes a curated row.
Store *store.Store
// TokenLimiter is this endpoint's own rate bucket. Optional.
TokenLimiter ratelimit.Limiter
// Metrics is optional.
Metrics *metrics.Registry
// Hearsay reports whether an actor recently RECEIVED inter-session traffic, so a
// note or task written mid-conversation is marked (§7). Optional: with COMM off it
// is nil and the marking is simply absent — "no signal", never "known clean".
Hearsay func(ctx context.Context, actorID int64) bool
// Limits bound the assets. Every one is a BACKUP decision (S12).
TaskLimits store.StationTaskLimits
NoteLimits store.StationNoteLimits
LockerLimits store.StationLockerLimits
}
Deps are the collaborators for the station endpoint.
Click to show internal directories.
Click to hide internal directories.