mc-webserver/pageHandler/page-provider.go
2023-08-13 20:19:47 +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()
}