2016-05-30 16:08:09 +02:00
|
|
|
// Package config defines the default settings and semantic variables
|
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2016-07-13 05:28:09 +02:00
|
|
|
var (
|
|
|
|
// TimeFormat default time format for any kind of datetime parsing
|
|
|
|
TimeFormat = "Mon, 02 Jan 2006 15:04:05 GMT"
|
2016-05-30 16:08:09 +02:00
|
|
|
// StaticCacheDuration expiration duration for INACTIVE file handlers
|
|
|
|
StaticCacheDuration = 20 * time.Second
|
|
|
|
// CompressedFileSuffix is the suffix to add to the name of
|
|
|
|
// cached compressed file when using the .StaticFS function.
|
|
|
|
//
|
|
|
|
// Defaults to iris-fasthttp.gz
|
|
|
|
CompressedFileSuffix = "iris-fasthttp.gz"
|
|
|
|
)
|