1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/pkg/model/defaults.go
op69qs 2751c4b8de Add server bind option (#190)
* add Server.path and Server.bindAddress two options to special http server handle path and Bind Address.
* Update server.go

Co-authored-by: op69qs <L7Itt9N1VfByhUEs>
2020-10-26 22:29:42 -07:00

17 lines
324 B
Go

package model
import (
"time"
)
const (
DefaultFormat = FormatVideo
DefaultQuality = QualityHigh
DefaultPageSize = 50
DefaultUpdatePeriod = 6 * time.Hour
DefaultLogMaxSize = 50 // megabytes
DefaultLogMaxAge = 30 // days
DefaultLogMaxBackups = 7
PathRegex = `^[A-Za-z0-9]+$`
)