Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenderFlags ¶
type RenderFlags struct { HTMLRender bool // should we render "text_long" as actual html? ImageRender bool // should we render "image" as actual images PublicURL string // should we replace links from the provided wisski? Predicates sparkl.Predicates }
func (RenderFlags) PublicURIS ¶
func (rf RenderFlags) PublicURIS() (public []string)
type Viewer ¶
type Viewer struct { Cache *sparkl.Cache Pathbuilder *pathbuilder.Pathbuilder RenderFlags RenderFlags // contains filtered or unexported fields }
Viewer implements an http.Handler that displays WissKI Entities.
Click to show internal directories.
Click to hide internal directories.