Back to / domain / section

package section

Latest Go to latest
Published: Aug 29, 2019 | License: AGPL-3.0 | Module:


func Register

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

Register sections

type Handler

type Handler struct {
	Runtime *env.Runtime
	Store   *store.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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier