Documentation ¶
Index ¶
- func BigEndianUint16(v uint16) []byte
- func BigEndianUint32(v uint32) []byte
- func BigEndianUint64(v uint64) []byte
- func DmMode2Desc(mode int) string
- func FileExists(file string) bool
- func GetBetweenString(s, start, end string) string
- func GetCookie(cookies string, key string) string
- func IF(f bool, a interface{}, b interface{}) interface{}
- func MemoryHuman(m uint64) string
- func MustGetSocks5(host string, port int, user, password string) proxy.Dialer
- func Plat2Desc(plat string) string
- func PutBytes(bytes ...[]byte) []byte
- func Qn2Desc(qn int) string
- func RandLetters(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigEndianUint16 ¶
func BigEndianUint32 ¶
func BigEndianUint64 ¶
func DmMode2Desc ¶
DmMode2Desc returns the description of danmaku mode.
func GetBetweenString ¶
GetBetweenString returns the string between the start and end strings.
func MemoryHuman ¶
MemoryHuman ize converts bytes to human readable format
func MustGetSocks5 ¶
MustGetSocks5 returns a socks5 proxy.
func RandLetters ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.