community: github.com/documize/community/domain/section Index | Files | Directories

package section

import "github.com/documize/community/domain/section"

Index

Package Files

endpoint.go register.go

func Register Uses

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

Register sections

type Handler Uses

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

Handler contains the runtime information such as logging and database.

func (*Handler) GetSections Uses

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

GetSections returns available smart sections.

func (*Handler) RefreshSections Uses

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

RefreshSections updates document sections where the data is externally sourced.

func (*Handler) RunSectionCommand Uses

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

RunSectionCommand passes UI request to section handler.

Directories

PathSynopsis
airtable
code
flowchart
gemini
github
jira
markdown
papertrail
pdfjs
plantuml
provider
table
tabular
trello
wysiwyg

Package section imports 25 packages (graph) and is imported by 2 packages. Updated 2019-11-02. Refresh now. Tools for package owners.