Documentation ¶
Index ¶
- Constants
- type EncItem
- type RedisOper
- func (self *RedisOper) GetEncodeStat(Id string) (info *common.EncodeStatInfo, err error)
- func (self *RedisOper) IsEncodedDone(key string) bool
- func (self *RedisOper) Notify(filename string) error
- func (self *RedisOper) SetEncodeNotify(encNotify common.EncodeNotification)
- func (self *RedisOper) Start() error
- func (self *RedisOper) UpdateEncodeStat(info *common.EncodeStatInfo) error
Constants ¶
View Source
const ConnectTimeout = 5000
View Source
const IdleTimeout = 300000
View Source
const LPUSH_KEY = "origin_file"
View Source
const MaxActive = 5000
View Source
const MaxIdle = 100
View Source
const ReadTimeout = 0
View Source
const WriteTimeout = 0
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisOper ¶
type RedisOper struct {
// contains filtered or unexported fields
}
func (*RedisOper) GetEncodeStat ¶
func (self *RedisOper) GetEncodeStat(Id string) (info *common.EncodeStatInfo, err error)
func (*RedisOper) IsEncodedDone ¶
func (*RedisOper) SetEncodeNotify ¶
func (self *RedisOper) SetEncodeNotify(encNotify common.EncodeNotification)
func (*RedisOper) UpdateEncodeStat ¶
func (self *RedisOper) UpdateEncodeStat(info *common.EncodeStatInfo) error
Click to show internal directories.
Click to hide internal directories.