Documentation
¶
Overview ¶
Package fake is a text channel for tests: it renders messages as plain text so conversation scripts can be compared with golden files. Having it from day one keeps the action layer channel-agnostic (ADR 0007).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Channel ¶
type Channel struct {
// Messages maps chat → message id → latest rendering.
Messages map[string]map[string]actions.Message
// Log is every send and edit in order.
Log []string
// contains filtered or unexported fields
}
Channel records messages per chat.
Click to show internal directories.
Click to hide internal directories.