Documentation
¶
Overview ¶
Package unit names the units of work the Slack plugin and the host share: a provider and the provider's key, as the host's units are.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Anchor ¶
type Anchor struct {
Unit Unit `json:"unit"`
Ref string `json:"ref"` // slack "<conversation>/<ts>"; github "review:<id>", "comment:<id>", "commit:<oid>", "situation:<kind>"; "turn:<round>"; "row:<rev>"; "draft:<id>", "draft:<id>:<kind>" before v4
Permalink string `json:"permalink,omitempty"`
At time.Time `json:"at,omitzero"`
}
Anchor is a plugin's opaque reference to a message or event inside a unit.
type ProviderID ¶
type ProviderID string
Click to show internal directories.
Click to hide internal directories.