Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Forge ¶
type Forge interface {
Build(class string, elements ...*One)
Builder(class string, elements ...*One) *One
Frames(frame ...*One) [][]byte
Markdown() *markdown.Markdown
HTML(raw string) *One
JS(js string) One
CSS(css string) One
Elem(tag, text string, attrs ...Attr) *One
Block(tag string, attrs Attr, children ...*One) *One
Void(tag string, attrs Attr) *One
}
type Fx ¶
type Value ¶
type Value struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
Size uint32 `json:"size"`
Data []byte `json:"-"`
}
Value is the unit of work for encoding. Name and Type populate the manifest; Data is the raw blob. Data is excluded from JSON and freed after encoding.
Click to show internal directories.
Click to hide internal directories.