background

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *pgxpool.Pool, workers *river.Workers, periodicJobs []*river.PeriodicJob) (*river.Client[pgx.Tx], error)

Types

type BackfillThreadWorkerArgs

type BackfillThreadWorkerArgs struct {
	ChannelID string `json:"channel_id"`
	SlackTS   string `json:"slack_ts"`
}

func (BackfillThreadWorkerArgs) Kind

type ChannelOnboardWorkerArgs

type ChannelOnboardWorkerArgs struct {
	ChannelID string `json:"channel_id"`
	LastNMsgs int    `json:"last_n_msgs"`
}

func (ChannelOnboardWorkerArgs) Kind

type DocumentationRefreshArgs added in v0.0.10

type DocumentationRefreshArgs struct {
	Source docs.Source `json:"source"`
}

func (DocumentationRefreshArgs) Kind added in v0.0.10

type ModulesWorkerArgs

type ModulesWorkerArgs struct {
	ChannelID  string `json:"channel_id"`
	SlackTS    string `json:"slack_ts"`
	ParentTS   string `json:"parent_ts"`
	IsBackfill bool   `json:"is_backfill"`
}

func (ModulesWorkerArgs) Kind

func (m ModulesWorkerArgs) Kind() string

Jump to

Keyboard shortcuts

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