utils

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func BatchCheck

func BatchCheck(proxiesList []C.Proxy, n int) (NETFLIXList []string)

BatchCheck : n int, to set ConcurrencyNum.

func Gist

func Gist(data []byte, cfg *config.SuConfig) (err error)

func NETFLIXTest

func NETFLIXTest(p C.Proxy, url string) (t uint16, sCode int, err error)

Types

type TgBot

type TgBot struct {
	SendMessage string
	Check       bool
	Bot         *tg.BotAPI
}

func (*TgBot) NewBot

func (tb *TgBot) NewBot(cfg *config.SuConfig)

func (*TgBot) TelegramUpdates

func (tb *TgBot) TelegramUpdates(buf *chan bool)

Jump to

Keyboard shortcuts

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