Documentation ¶
Index ¶
Constants ¶
View Source
const ( BotToken = "" ChannelName = "" AudioFilePath = "" ImageFilePath = "" TrojanServerAddr = "" TrojanServerPort = 443 TrojanPassword = "" TrojanSNI = "" ProxyURL = "" // 请替换成 Clash 代理的实际地址和端口 )
Variables ¶
This section is empty.
Functions ¶
func FileToBytes ¶
func GetFileExtensionWithoutDot ¶
GetFileExtensionWithoutDot 获取文件路径的文件类型后缀并去掉点
func ListFilesInFolder ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.