Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entities ¶
type Entities struct {
// contains filtered or unexported fields
}
func NewEntities ¶
func NewEntities() (e Entities)
func (*Entities) SetHtml ¶
func (e *Entities) SetHtml(id ID, h RenderHTML)
func (*Entities) SetJson ¶
func (e *Entities) SetJson(id ID, j RenderJson)
type HtmlMap ¶
type HtmlMap map[ID]RenderHTML
type JsonMap ¶
type JsonMap map[ID]RenderJson
type RenderHTML ¶
type RenderHTML interface {
ToHtml() (b []byte)
}
type RenderJson ¶
type RenderJson interface {
ToJson() (m Json)
}
Click to show internal directories.
Click to hide internal directories.