util

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserAgent = "" /* 130-byte string literal not displayed */
)

Functions

func Download

func Download(path string) (string, []byte, error)

func GetBytes

func GetBytes(url string) ([]byte, error)

func GetGroupAvatarURL

func GetGroupAvatarURL(groupId string) string

func GetUserAvatarURL

func GetUserAvatarURL(uin string) string

func HTTPGetReadCloser

func HTTPGetReadCloser(url string) (io.ReadCloser, error)

func NewGzipReadCloser

func NewGzipReadCloser(reader io.ReadCloser) (io.ReadCloser, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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