Documentation
¶
Overview ¶
Package fakesource is a source plugin's reports of chat threads, for tests: each thread is a snapshot, served as rows through the host's readmodel.Reported, as a plugin's units are. Nothing registers it.
Index ¶
Constants ¶
const ( KindWaiting api.Kind = "waiting" KindAnswered api.Kind = "answered" )
The kinds of a thread.
const FacetWhere = "where"
FacetWhere is the thread plugin's where facet.
const ID unit.ProviderID = "thread"
Variables ¶
var Codec = unit.OpaqueCodec{ID: ID}
Codec accepts any non-blank one-line key.
Functions ¶
Types ¶
type Payloads ¶
type Payloads struct{}
Payloads reads a fake thread's turn payload from its unit alone.
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source holds the threads' last reports.