Documentation ¶
Index ¶
- func DownloadFile(url string) (*[]byte, error)
- func DownloadFileAuth(url string, auth string) (*[]byte, error)
- func GetAvatar(av map[string]string, userid string, general *config.Protocol) string
- func HandleDownloadData(flog *log.Entry, msg *config.Message, name, comment, url string, data *[]byte, ...)
- func HandleDownloadSize(flog *log.Entry, msg *config.Message, name string, size int64, ...) error
- func HandleExtra(msg *config.Message, general *config.Protocol) []config.Message
- func RemoveEmptyNewLines(msg string) string
- func SplitStringLength(input string, length int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func DownloadFileAuth ¶ added in v1.9.0
func HandleDownloadData ¶ added in v1.9.0
func HandleDownloadSize ¶ added in v1.9.0
func HandleExtra ¶ added in v1.8.0
handle all the stuff we put into extra
func RemoveEmptyNewLines ¶ added in v1.9.1
func SplitStringLength ¶ added in v1.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.