Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CardVisitorPaths ¶ added in v0.7.0
func CardVisitorPaths(data ControllerData, ui shared.ControllerOptions) hb.TagInterface
CardVisitorPaths builds the visitor paths experience card.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller handles the visitor paths page
func (*Controller) Handler ¶
func (c *Controller) Handler(w http.ResponseWriter, r *http.Request) string
ToTag 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 ¶
type ControllerData struct {
Request *http.Request
Paths []statsstore.VisitorInterface
Page int
TotalPages int
PageSize int
TotalCount int64
Filters FilterOptions
}
ControllerData contains the data needed for visitor paths views
type ControllerOptions ¶ added in v0.7.0
type ControllerOptions = shared.ControllerOptions
ControllerOptions alias for shared controller options
Click to show internal directories.
Click to hide internal directories.