providers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Registry []types.Provider

Registry хранит список всех зарегистрированных провайдеров

Functions

func FetchYandexMossad

func FetchYandexMossad() []string

FetchYandexMossad парсит прокси из объекта в JS со страницы, формирует строки вида tg://proxy?

func LoadTgChannelsFromFile

func LoadTgChannelsFromFile(path string) error

LoadTgChannelsFromFile читает файл, парсит имена Telegram-каналов и добавляет их в config.TgChannels

func Register

func Register(name string, fetchFunc func() []string)

Register вызывается в init() каждого провайдера для добавления его в общий пул

Types

This section is empty.

Jump to

Keyboard shortcuts

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