inbox

package
v0.2.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOptions

type ListOptions struct {
	AccountIDs      []string
	Limit           int
	APILimit        string
	DMOnly          bool
	Since           string
	FallbackAllowed bool
}

type Service

type Service struct {
	Backend        string
	Client         *api.Client
	ClientErr      error
	OpenStore      func() (*db.Store, error)
	ProgressWriter io.Writer
	WarnStale      bool
}

func NewService

func NewService(opts ServiceOptions) *Service

func (*Service) List

func (s *Service) List(ctx context.Context, opts ListOptions) ([]domain.InboxItem, error)

type ServiceOptions

type ServiceOptions struct {
	Backend        string
	Client         *api.Client
	ClientErr      error
	OpenStore      func() (*db.Store, error)
	ProgressWriter io.Writer
	WarnStale      bool
}

Jump to

Keyboard shortcuts

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