cityuni-webserver/pageHandler/page-provider.go
Captain ALM 98dac85215
All checks were successful
continuous-integration/drone/push Build is passing
Fix up page handling.
Remove timeout support.
Add identification middleware.
2022-07-15 10:46:45 +01:00

11 lines
221 B
Go

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