Documentation ¶
Index ¶
- Constants
- func DumpCookies(cookies []*http.Cookie) (string, error)
- func FileExists(filename string) bool
- func GetCorrespondPath(ts int64) (string, error)
- func LoadCookies(cookieDump string) ([]*http.Cookie, error)
- func RandomChoice[T any](list []T) T
- func SplitBytes(total []byte, chunk int) [][]byte
Constants ¶
View Source
const ( KB = 1 << 10 MB = 1 << 20 GB = 1 << 30 )
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GetCorrespondPath ¶ added in v0.3.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.