cityuni-webserver/pageHandler/page-provider.go

15 lines
294 B
Go
Raw Normal View History

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()
}