cityuni-webserver/pageHandler/page-provider.go
Captain ALM 3792ff2a4d
All checks were successful
continuous-integration/drone/push Build is passing
Add a caching flag to page provider content.
2022-07-15 15:37:59 +01:00

15 lines
278 B
Go

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