Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller handles the dashboard home page
func (*Controller) Handle ¶
func (c *Controller) Handle(w http.ResponseWriter, r *http.Request) string
Handle renders the controller to an HTML tag
func (*Controller) ServeHTTP ¶
func (c *Controller) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements the http.Handler interface
type ControllerData ¶
ControllerData contains the data needed for the home page
Click to show internal directories.
Click to hide internal directories.