Documentation ¶
Index ¶
- func Router(...) http.Handler
- func ServeHelpAsset(w http.ResponseWriter, r *http.Request) error
- func ServeHelpIndex(w http.ResponseWriter, r *http.Request) error
- func ServeHelpPageAsset(w http.ResponseWriter, r *http.Request) error
- func ServeTopicPage(w http.ResponseWriter, r *http.Request) error
- func SetContentPath(path string)
- func UseCustomAssets(path string)
- func UseCustomTemplates(path string)
- type ErrorHandler
- type Gettable
- type HelpTopic
- type Index
- type Pagination
- func (this Pagination) GivenPage(pageNum int) QueryPage
- func (this Pagination) NextPage() url.Values
- func (this Pagination) Page() QueryPage
- func (this Pagination) Pages() []int
- func (this *Pagination) Paginate(form Gettable)
- func (this Pagination) PaginationQuery() string
- func (this Pagination) PrevPage() url.Values
- func (this Pagination) Values() url.Values
- type QueryPage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeHelpAsset ¶
func ServeHelpAsset(w http.ResponseWriter, r *http.Request) error
func ServeHelpIndex ¶
func ServeHelpIndex(w http.ResponseWriter, r *http.Request) error
func ServeHelpPageAsset ¶
func ServeHelpPageAsset(w http.ResponseWriter, r *http.Request) error
func ServeTopicPage ¶
func ServeTopicPage(w http.ResponseWriter, r *http.Request) error
func SetContentPath ¶
func SetContentPath(path string)
func UseCustomAssets ¶
func UseCustomAssets(path string)
func UseCustomTemplates ¶
func UseCustomTemplates(path string)
Types ¶
type ErrorHandler ¶
type HelpTopic ¶
type Index ¶
type Index []HelpTopic
func BuildIndex ¶
func (Index) FilterToTag ¶
func (Index) Paginate ¶
func (this Index) Paginate(pagination *Pagination) Index
type Pagination ¶
func (Pagination) GivenPage ¶
func (this Pagination) GivenPage(pageNum int) QueryPage
func (Pagination) NextPage ¶
func (this Pagination) NextPage() url.Values
func (Pagination) Page ¶
func (this Pagination) Page() QueryPage
func (Pagination) Pages ¶
func (this Pagination) Pages() []int
func (*Pagination) Paginate ¶
func (this *Pagination) Paginate(form Gettable)
func (Pagination) PaginationQuery ¶
func (this Pagination) PaginationQuery() string
func (Pagination) PrevPage ¶
func (this Pagination) PrevPage() url.Values
func (Pagination) Values ¶
func (this Pagination) Values() url.Values
Click to show internal directories.
Click to hide internal directories.