2022-07-14 23:25:43 +01:00
|
|
|
package pageHandler
|
|
|
|
|
2022-07-15 12:18:33 +01:00
|
|
|
import (
|
|
|
|
"net/url"
|
|
|
|
"time"
|
|
|
|
)
|
2022-07-15 10:46:45 +01:00
|
|
|
|
2022-07-14 23:25:43 +01:00
|
|
|
type PageProvider interface {
|
|
|
|
GetPath() string
|
2022-07-15 12:18:33 +01:00
|
|
|
GetLastModified() time.Time
|
2022-07-16 11:44:38 +01:00
|
|
|
GetCacheIDExtension(urlParameters url.Values) string
|
2022-07-15 15:37:59 +01:00
|
|
|
GetContents(urlParameters url.Values) (contentType string, contents []byte, canCache bool)
|
2022-07-14 23:25:43 +01:00
|
|
|
PurgeTemplate()
|
|
|
|
}
|