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 10:46:45 +01:00
|
|
|
GetSupportedURLParameters() []string
|
2022-07-15 12:18:33 +01:00
|
|
|
GetLastModified() time.Time
|
2022-07-15 10:46:45 +01:00
|
|
|
GetContents(urlParameters url.Values) (contentType string, contents []byte)
|
2022-07-14 23:25:43 +01:00
|
|
|
PurgeTemplate()
|
|
|
|
}
|