provider

package
v0.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FETCH_RETRY_COUNT = 3

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(configs []config.ServerConfig, l *logger.Logger) (*Manager, error)

func (*Manager) FetchArticle

func (m *Manager) FetchArticle(ctx context.Context, msgID string, groups []string) (io.Reader, error)

func (*Manager) TotalCapacity

func (m *Manager) TotalCapacity() int

TotalCapacity returns the maximum number of concurrent connections allowed across all configured providers.

Jump to

Keyboard shortcuts

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