Documentation
¶
Index ¶
- func AppendDeltaJSONL(path string, now time.Time, report DeltaReport) error
- func PrintDelta(w io.Writer, report DeltaReport)
- func PrintJSON(w io.Writer, in []rank.Repo) error
- func PrintTable(w io.Writer, in []rank.Repo, descWidth int)
- func PrintThemeSummary(w io.Writer, in []rank.Repo)
- func SendDeltaWebhook(webhookURL string, now time.Time, report DeltaReport, opts WebhookOptions) error
- func SendDeltaWebhookWithClient(client *http.Client, webhookURL string, now time.Time, report DeltaReport, ...) error
- type DeltaReport
- type RankMove
- type WebhookOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendDeltaJSONL ¶
func AppendDeltaJSONL(path string, now time.Time, report DeltaReport) error
func PrintDelta ¶
func PrintDelta(w io.Writer, report DeltaReport)
func SendDeltaWebhook ¶
func SendDeltaWebhook(webhookURL string, now time.Time, report DeltaReport, opts WebhookOptions) error
func SendDeltaWebhookWithClient ¶
func SendDeltaWebhookWithClient(client *http.Client, webhookURL string, now time.Time, report DeltaReport, opts WebhookOptions) error
Types ¶
type DeltaReport ¶
func BuildDelta ¶
func BuildDelta(prev []snapshot.Item, current []rank.Repo) DeltaReport
type WebhookOptions ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.