Documentation
¶
Overview ¶
Package dailyreport integrates daily report rules with GitSSS activity records.
Index ¶
- func CollectPushes(ctx context.Context, start, end time.Time) ([]dailyreport.Push, error)
- func ConfigPath() string
- func Execute(ctx context.Context, now time.Time, automatic bool) (dailyreport.RunResult, error)
- func LoadConfig() (dailyreport.Config, error)
- func SaveConfig(cfg dailyreport.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectPushes ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.