Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SESSInterface ¶
type SESSInterface interface { Close() SetCommonSession(key string, val interface{}) error SetExpireSession(key string, val interface{}, expire int) error GetCommonSession(key string) ([]byte, error) RedisLockRefresh(redisKey string, expiration time.Duration) (succ bool) DelRedisKey(redisKey string) error SetCompletePart(dfsID string, allParts interface{}) GetCompletePart(dfsID string) (allParts []byte) DelCompletePart(dfsID string) SetImurs(dfsID string, imurs interface{}) GetImurs(dfsID string) (imurs []byte) DelImurs(dfsID string) DelAllParts(dfsID string) }
SESSInterface interface for cross sessions
var SESS SESSInterface
SESS session query object
Click to show internal directories.
Click to hide internal directories.