Help us shape the future of Go! Take the 2026 Go Developer Survey

dailyreport

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package dailyreport integrates daily report rules with GitSSS activity records.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectPushes

func CollectPushes(ctx context.Context, start, end time.Time) ([]dailyreport.Push, error)

CollectPushes reads the actor's canonical action, avoiding watcher copies. Oversized or incomplete action payloads fail closed instead of omitting commits.

func ConfigPath

func ConfigPath() string

ConfigPath keeps private provider and recipient configuration in application data.

func Execute

func Execute(ctx context.Context, now time.Time, automatic bool) (dailyreport.RunResult, error)

Execute summarizes today's pushed commits and sends cards to the configured bot. Both scheduled and manual runs share the same delivery receipts and lock.

func LoadConfig

func LoadConfig() (dailyreport.Config, error)

LoadConfig returns a disabled default until an administrator configures the service.

func SaveConfig

func SaveConfig(cfg dailyreport.Config) error

SaveConfig validates and persists the private configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL