Versions in this module Expand all Collapse all v0 v0.1.0 Apr 26, 2026 Changes in this version + func CheckAndFilterProxies(proxies []string, maxWorkers int, localAddr string, timeout time.Duration) types.CheckResults + func CheckApiTelegramVpnOrgAvailability() + func CheckFile(path string) error + func CheckMtproXyzAvailability() + func CheckMtprotoRuAvailability() + func CheckProxy(rawURL string, localAddr string, timeout time.Duration) (types.Result, error) + func CheckTelegramWebAvailability() + func ExtractProxiesFromJS(content string, providerName string) []string + func IsFile(path string) bool + func IsTextLine(s string) bool + func IsWebAvailable(url string) bool + func LoadFromFile(filename string) ([]string, error) + func NormalizeProxyURL(raw string) (string, error) + func ResolveOptionalFlags(o *OptionalString, flagName string) + func ResolvePath(path string) (string, error) + func SaveResults(results types.CheckResults, alivePath, deadPath string, saveDead bool) error + func Upload(cfg UploadConfig) error + func WithStemSuffix(path, suffix string) string + type GitHubUploader struct + func NewGitHubUploader(token, owner, repo, branch string) (*GitHubUploader, error) + func (u *GitHubUploader) GetEmail(ctx context.Context) string + func (u *GitHubUploader) SuperSquash(ctx context.Context, commitMsg string) error + func (u *GitHubUploader) UploadFile(ctx context.Context, localPath, remotePath, commitMsg string) error + type OptionalString struct + HasValue bool + IsSet bool + Value string + func (o *OptionalString) Set(s string) error + func (o *OptionalString) String() string + type RepoInfo struct + Name string + Owner string + func ParseRepoURL(rawURL string) (RepoInfo, error) + type UploadConfig struct + Branch string + CommitMsg string + FilePath string + RemotePath string + RepoUrl string + Squash bool + Token string