cityuni-webserver/pageHandler/page-provider.go
Captain ALM 42dd0259af
All checks were successful
continuous-integration/drone/push Build is passing
Finish the page-handler.
Remove unneeded utils.
Migrate ETag calculation code.
2022-07-15 12:18:33 +01:00

15 lines
263 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)
PurgeTemplate()
}