Documentation ¶
Index ¶
- Constants
- func CreateSupportMessage(w http.ResponseWriter, r *http.Request) error
- func ErrorHandler(w http.ResponseWriter, r *http.Request)
- func GetPageNum(r *http.Request) int
- func Home(w http.ResponseWriter, r *http.Request) error
- func NewSupportMessage(w http.ResponseWriter, r *http.Request) error
- func NotFoundHandler(w http.ResponseWriter, r *http.Request)
- func RenderSitemap(w http.ResponseWriter, r *http.Request) error
- func ShowPage(w http.ResponseWriter, r *http.Request) error
- type Error
- type Handler
- type StatusError
Constants ¶
View Source
const PerPage = 15
PerPage defines the default number of items per page
Variables ¶
This section is empty.
Functions ¶
func CreateSupportMessage ¶
func CreateSupportMessage(w http.ResponseWriter, r *http.Request) error
func ErrorHandler ¶
func ErrorHandler(w http.ResponseWriter, r *http.Request)
func GetPageNum ¶
func NewSupportMessage ¶
func NewSupportMessage(w http.ResponseWriter, r *http.Request) error
func NotFoundHandler ¶
func NotFoundHandler(w http.ResponseWriter, r *http.Request)
func RenderSitemap ¶
func RenderSitemap(w http.ResponseWriter, r *http.Request) error
Types ¶
type StatusError ¶
func (StatusError) Error ¶
func (se StatusError) Error() string
func (StatusError) Status ¶
func (se StatusError) Status() int
Source Files ¶
Click to show internal directories.
Click to hide internal directories.