cityuni-webserver/pageHandler/page-provider.go
Captain ALM 884c88525e
All checks were successful
continuous-integration/drone/push Build is passing
Switch over cache handling system.
Add more values for the Go Info page.
2022-07-16 11:44:38 +01:00

15 lines
294 B
Go

package pageHandler
import (
"net/url"
"time"
)
type PageProvider interface {
GetPath() string
GetLastModified() time.Time
GetCacheIDExtension(urlParameters url.Values) string
GetContents(urlParameters url.Values) (contentType string, contents []byte, canCache bool)
PurgeTemplate()
}