Categorygithub.com/coghost/xbot
modulepackage
0.0.0-20231025144912-b691b52c8def
Repository: https://github.com/coghost/xbot.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
BotHeadless is not used, we use file `.rod:show` to control Headless or not.
No description provided by the author
BotProxyLine is with format `host:port:username:password:<OTHER>`.
BotProxyServer is with format `host:port` proxy server has higher priority than proxy-line, so if both proxy-server and proxy-line provided, will use proxy-server e.g.
BotScreen is the x position of screen, you can set it to value less than 0 if you have multiple screens e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithLeakless works only with user_mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ForceQuitBrowser will try to close browser by kill the process name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBrwAndPage create and return a Browser and a blank page with window size 1366*768.
NewDefaultBot creates a bot with default configs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUserModeBrwAndPage run with user mode, will use system browser.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithLeakless works only with user_mode.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
LongToSec long timeout in second.
MediumToSec medium timeout in second.
NapToSec a nap timeout in second.
NearlyNonToSec a very short timeout in second.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ShortToSec short timeout in second.
No description provided by the author
ZeroToSec no timeout in second.

# Variables

No description provided by the author

# Structs

No description provided by the author
BotConfig is used to config bot options, which is usually read from config file.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author