Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Default number of cdn load limit DefaultCDNLoadLimit = 300 // Default number of client load limit DefaultClientLoadLimit = 50 // Default number of pieces to download in parallel DefaultClientParallelCount = 4 )
Variables ¶
This section is empty.
Functions ¶
func NewRedis ¶
func NewRedis(cfg *config.RedisConfig) (*redis.Client, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.