Exemple #1
0
// Handle handles an http.Request for a DocsPage.
func (resource *DocsPage) Handle(request *trim.Request) trim.Response {
	return responses.NewRedirectResponse(DocsURL)
}
Exemple #2
0
// Handle handles an http.Request for a SourcePage.
func (resource *SourcePage) Handle(request *trim.Request) trim.Response {
	return responses.NewRedirectResponse(SourceURL)
}