Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ui ControllerOptions) http.Handler
New creates a new visitor activity controller
Types ¶
type Controller ¶
type Controller struct {
UI ControllerOptions
}
Controller handles the visitor activity page
func (*Controller) Handler ¶ added in v0.7.0
func (c *Controller) Handler(w http.ResponseWriter, r *http.Request) string
Handler renders the controller output using the shared layout
func (*Controller) ServeHTTP ¶
func (c *Controller) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements the http.Handler interface
type ControllerOptions ¶ added in v0.7.0
type ControllerOptions = shared.ControllerOptions
ControllerOptions configures the visitor activity controller views
Click to show internal directories.
Click to hide internal directories.