Versions in this module Expand all Collapse all v0 v0.4.1 Jul 9, 2019 v0.4.0 Jun 20, 2019 Changes in this version + func CalculateBreakRange(startPieceNum, pieceContSize int, rangeLength int64) (string, error) + func CalculatePieceNum(rangeStr string) int + func CalculatePieceRange(pieceNum int, pieceSize int32) string + type LockerPool struct + func NewLockerPool() *LockerPool + func (l *LockerPool) GetLock(key string, ro bool) + func (l *LockerPool) ReleaseLock(key string, ro bool)