dashboard

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package dashboard provides dashboard components for the PostgreSQL PubSub provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provide

func Provide(dlq *Component) dashboard.Components

Types

type Component

type Component struct {
	// contains filtered or unexported fields
}

func New

func New(logger *slog.Logger, db *sql.DB) *Component

func (*Component) Children

func (d *Component) Children() dashboard.Components

func (*Component) DeleteDeadLetter

func (d *Component) DeleteDeadLetter(ctx context.Context, cloudEventID string) error

func (*Component) Detail

func (d *Component) Detail() dashboard.Detail

func (*Component) Index

func (d *Component) Index(ctx context.Context, query DQLListQuery) (string, error)

func (*Component) ReenqueueDeadLetter

func (d *Component) ReenqueueDeadLetter(ctx context.Context, cloudEventID string) error

func (*Component) SetRenderer

func (d *Component) SetRenderer(renderer *dashboard.Renderer)

type DQLListQuery

type DQLListQuery struct {
	Offset int32 `qstring:"offset"`
	Limit  int32 `qstring:"limit"`
}

Jump to

Keyboard shortcuts

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