digest

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package digest wires the digest domain — the scheduled stuck-PR reminder — into an fx module. This file is the only fx-aware part of the domain; the domain, application, and infrastructure layers stay framework-free.

Index

Constants

This section is empty.

Variables

Module binds the digest ports to their adapters and use cases. It expects the composition root to supply the external inputs it cannot build itself: the store's *store.PullRequests, a *slack.Composer, a *slack.Client, the routing provider (as domain.MappingLookup and domain.DigestResolver), a *slog.Logger, and a Config.

Functions

This section is empty.

Types

type Config added in v0.21.2

type Config struct {
	Specs []string
	TZ    *time.Location
}

Config carries the digest module's runtime configuration — the distinct enabled cron specs and the digest timezone — supplied as a single value by the composition root (or a test).

Directories

Path Synopsis
Package application holds the digest use cases — the stuck-PR reporter and the cron scheduler — behind the domain's use-case interfaces.
Package application holds the digest use cases — the stuck-PR reporter and the cron scheduler — behind the domain's use-case interfaces.
Package domain defines the digest domain's ports, DTOs, and constants — the scheduled stuck-PR reminder contracts.
Package domain defines the digest domain's ports, DTOs, and constants — the scheduled stuck-PR reminder contracts.
Package infrastructure holds the digest adapters: a stuck-PR repository over the store and Slack composer/poster adapters over the platform client.
Package infrastructure holds the digest adapters: a stuck-PR repository over the store and Slack composer/poster adapters over the platform client.

Jump to

Keyboard shortcuts

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