Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Forge ¶
type Forge interface {
HTML(raw string) *Frame
Build(class string, elements ...*Frame)
Builder(class string, elements ...*Frame) *Frame
Frames(frame ...*Frame) [][]byte
Markdown() *markdown.Markdown
JS(js string) *Frame
CSS(css string) *Frame
Elem(tag, text string, attrs ...Attr) *Frame
Block(tag string, attrs Attr, children ...*Frame) *Frame
Void(tag string, attrs Attr) *Frame
}
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.