section

package
v1.57.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2018 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(rt *env.Runtime, s *domain.Store)

Register sections

Types

type Handler

type Handler struct {
	Runtime *env.Runtime
	Store   *domain.Store
}

Handler contains the runtime information such as logging and database.

func (*Handler) GetSections

func (h *Handler) GetSections(w http.ResponseWriter, r *http.Request)

GetSections returns available smart sections.

func (*Handler) RefreshSections

func (h *Handler) RefreshSections(w http.ResponseWriter, r *http.Request)

RefreshSections updates document sections where the data is externally sourced.

func (*Handler) RunSectionCommand

func (h *Handler) RunSectionCommand(w http.ResponseWriter, r *http.Request)

RunSectionCommand passes UI request to section handler.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL