You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package api
|
|
|
|
|
|
|
|
import "github.com/boj/redistore"
|
|
|
|
|
|
|
|
const (
|
|
|
|
UpSessionKey = "bit4sat-up"
|
|
|
|
DlSessionKey = "bit4sat-dl"
|
|
|
|
MaxAgeDlKeySession = 3600 // max age for a paid and authorized download key
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
SessionStore *redistore.RediStore
|
|
|
|
)
|